gabrielbsales
New Member
- Joined
- Dec 13, 2010
- Messages
- 35
- Reaction score
- 0
Hello, I want to make a vocation can not walk, but i don't think how.
Someone can help?
TFS 0.3.6
Someone can help?
TFS 0.3.6
Hello, I want to make a vocation can not walk, but i don't think how.
Someone can help?
TFS 0.3.6
function onLogin(cid)
local voc = getPlayerVocation(cid)
local nomovevoc = 1 -- Change this to the vocation ID that you don't want moving.
if voc == nomovevoc then
doCreatureSetNoMove(cid,1)
end
return true
end
Too simple
Thanks