30.08.2013, 11:10
Well today I've just read a sscanf tutorial then I've made something simple after that I compiled, there was no errors at all but when I start the server every single command wont work, and everything wont work, for example I got a bunch of commands, animations, messages, all of them wont appear can anyone help me please?
Thank you in advance!
EDIT: Don't mind the loose indentation It's just because of the BBcodes.
Код:
CMD:heal(playerid,params[]) { new targetid; if(sscanf(params,"u",targetid)) return SendClientMessage(playerid,COLOR_RED2,"[SYNTAX]{FFFFFF} /heal [PlayerID]"); if(!IsPlayerConnected(targetid)) return SendClientMessage(playerid,COLOR_RED2,"[SYNTAX] {FFFFFF} Invalid ID."); SetPlayerHealth(targetid, 100); return 1; }
EDIT: Don't mind the loose indentation It's just because of the BBcodes.