andu
Sold 649 scripts, 25 maps and 9 events!
Talkaction:
When I write ingame example:
I'm getting such error:
Where is the problem? What I'm doing wrong?
Code:
function onSay(player, words, param)
if param == "" then
return player:sendPrivateMessage(player, "Command param required.", MESSAGE_STATUS_CONSOLE_BLUE)
end
return player:setVocation(param)
end
When I write ingame example:
Code:
/voc 15
/voc 1
/voc 51
/voc 2
/voc 44
Code:
[Warning - Vocations::getVocation] Vocation 65535 not found.
[Warning - Vocations::getVocation] Vocation 65535 not found.
[Warning - Vocations::getVocation] Vocation 65535 not found.
[Warning - Vocations::getVocation] Vocation 65535 not found.
[Warning - Vocations::getVocation] Vocation 65535 not found.
Where is the problem? What I'm doing wrong?