14.03.2009, 22:06
Pawno will not compile this. if I comment it away it will compile. What is wrong?
Код:
if(strcmp("/pickup",cmdtext, true) == 0) { tmp = strtok(cmdtext, idx); if(!strlen(tmp)) { SendClientMessage(playerid, ORANGE, "USAGE: /pickup"); SendClientMessage(playerid, ORANGE, "FUNCTION: Will Send A Message To All Asking Them To Pick You Up!"); return 1; } GetPlayerName(playerid, sendername, sizeof(sendername)); format(string, sizeof(string), "%s Has Requested To Be Picked Up", sendername); SendClientMessageToAll(ADMIN_RED, string); format(string, sizeof(string), "Your Request To Be Picked Up Has Been Sent. Thank You."); SendClientMessage(playerid, GREEN, string); } return 1; }