Ecstacy
Mothafuckaaa
Hey,
I've just been starting this script, and it it just won't set the player townid.
I'm using TFS 0.3.4pl2.
It tells me it's a nill value
Could someone tell me the proper string to set a player's town id?
+rep
Thanks,
unknown1138
I've just been starting this script, and it it just won't set the player townid.
PHP:
function onSay(cid, words, param)
local argpos = {x = 1333, y = 984, z = 7}
if getPlayerLevel(cid) >= 8 and getPlayerStorageValue(cid, 123123) == -1 then
doTeleportThing(cid, argpos)
doPlayerSendTextMessage(cid,22,"You are now a citizen of arganoth")
setPlayerTown(cid, 2)
setPlayerStorageValue(cid, 123123, 1)
else
doPlayerSendCancel(cid,"You need to be level 8 or higher!")
end
return FALSE
end
I'm using TFS 0.3.4pl2.
It tells me it's a nill value
Could someone tell me the proper string to set a player's town id?
+rep
Thanks,
unknown1138