Try this beginner code
local playerVoc = getPlayerVocation(cid)
function doPlayerAddSkill(cid, skill, amount, round)
if(skill == SKILL__LEVEL) then
return doPlayerAddLevel(cid, amount, round)
-- Magic Level for All
if(skill == SKILL__MAGLEVEL) then
dude to do this as i understand , the training tp should check player current city and tp him there !
so for example ! i'm in city 1 and my home city should be 1 so when i tp back from training .. script will check my home and tp there
and if i gone city 2 my home should change auto to 2 .. !
hello otland ..
in old tfs 0.4 there is vocation.lua file in libs folder that define vocations
in new tfs -- if i need to create as many vocations will it work without add new vocations in somewhere else
for example the known vocs are 4 with their prom..
i need to add many vocs and their...