/storage who, key, value
Yeah, but I would like for all players, not one.
Please help, I must have fast this command.
[B][COLOR=#0000ff]if[/COLOR][/B] getPlayerLevel[COLOR=#000080]([/COLOR]cid[COLOR=#000080])[/COLOR] [COLOR=#000080]>=[/COLOR] 20 [B][COLOR=#0000ff]then[/COLOR][/B]
doCreatureSetStorage[COLOR=#000080]([/COLOR]cid, key, value[COLOR=#000080])[/COLOR]
[B][COLOR=#0000ff]end[/COLOR][/B]
Well they won't get this storage until they reach a certain level. Edit and successfully the internetsI don't want give storage for new player.
I don't want give storage for new player.
I want get for players vip access key:1111, and if you start game in me server, u don't have this storage xD
I want all players that plays in me server right NOW get that storage
if getPlayerLevel(cid) >= 20 then
doCreatureSetStorage(cid, key, value)
end
if (getPlayerLevel(cid) >= 20 and getCreatureStorage(cid, key) == -1) then
doCreatureSetStorage(cid, key, value)
end