22.03.2013, 19:46
ok I created this command to test it it out but it would not compile the compiler keeps crashing
here is the command anything wrong with this
I know it is this command because I commented it out and it worked perfectly fine
here is the command anything wrong with this
Код:
CMD:test(playerid,params[]) { if(IsPlayerAdmin(playerid)) { new input[128]; new string[128]; new value; new name[128]; if(sscanf(params,"s",input) { return "SYNTAX /test [input]"); } GetPlayerName(playerid,name,sizeof(name)); val = strval(input); format(string,128,"~TEST~[%s] has inputed %s and the value number is %i",inputtext,value); SendClientMessageToAll(DARKBLUE,string); } else { SendClientMessage(playerid, RED, "ERROR"); } return 1; }