sry for dubble post but i change this command a little and for now it works better but there are still problems ...
so fixed is when i type /onduty on foot it write you are not in any taxi driver vehicles... this is OK
fixed is when you enter a taxi driver car - taxi and you type /onduty it write to all ppl Lajko(0) is now on duty type /taxi bla bla bla...
and added when you type /onduty in car you are green color
problems:
when you are on foot and i type /onduty it write the message: you are not in any taxi driver vehicles + Under that write SERVER: Unknown Command
when you are in taxi driver car - taxi and u type any command that i dont have scripted in my gamemode it write: you are already on duty + server unknown command ... so can you help me with this PLEASE ?
what i made :
delete all returns 1;
and add return 0; at end of command
i add when player type /onduty he is green color
EDIT: i allmost forget, here is the code :
http://pastebin.com/d4019134c
EDIT: Allmost fixed, now it dont show ''SERVER: Unknown Command'' , but why when i type /lol /ha /retard /noob /haha it write, you are already on duty ? ... jsut help to fix me this
so now i really really hope someone can help me with this cuz its very important for me
TY!