Doggynub
LUA / C++
- Joined
- Sep 28, 2008
- Messages
- 2,541
- Reaction score
- 186
i want to know if this thing work
it is supposed to check if players with storage 1 are like one or more player and player with storag 2 is zero(no one have this storage)
LUA:
function onStepIn(cid, item, position, lastPosition, fromPosition, toPosition, actor)
t = getPlayerStorageValue(getPlayerOnline(cid),1991) == 1
p = getPlayerStorageValue(getPlayerOnline(cid),1991) == 2
if t >= 1 and p < 1 then
it is supposed to check if players with storage 1 are like one or more player and player with storag 2 is zero(no one have this storage)