roriscrave
Advanced OT User
- Joined
- Dec 7, 2011
- Messages
- 1,210
- Solutions
- 35
- Reaction score
- 206
How can i rewrite this script for 1.1?
obs: in tfs 0.4 it returns correct "skin.lookType"
in tfs 1.1 it ever return NIL
obs: in tfs 0.4 it returns correct "skin.lookType"
in tfs 1.1 it ever return NIL
Code:
skin = {vocation[skin_quant]} -- return a value of outfit
if skin.lookType == nil then -- here i need to rewrite, but i dont know why.. ever return nil, its bugged,
return doPlayerSendCancel(cid, "Dont have skins!") and true
end