• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!
  • 2026 staff recruitment is open! Check it out and consider applying!

How to do? Vocation Can't Move

Hello, I want to make a vocation can not walk, but i don't think how.
Someone can help?
TFS 0.3.6
Code:
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
 
Back
Top