antoniolagos
Member
- Joined
- Apr 10, 2010
- Messages
- 34
- Reaction score
- 6
Hello, please help with this. I need a script that when players have xxxx storage, he can´t change his outfit while it have that storage value.
This is not working do you know why?
This is not working do you know why?
Lua:
local storage = 323245
local storage2 = 323244
function onOutfit(cid, old, current)
if getPlayerStorageValue(cid, storage) ~= -1 or getPlayerStorageValue(cid, storage2) ~= -1 then
return false
end
return true
end
Last edited: