03.07.2009, 13:52
Ya .. One bracket after ELSE is extra
Corrected Code
Corrected Code
Код:
public OnPlayerCommandText(playerid,cmdtext[]){ if(!strcmp("/b ",cmdtext,false,3)){ if(cmdtext[3]){ OnPlayerText(playerid,cmdtext[3]); }else SendClientMessage(playerid,COLOR_YOUWANT,"Usage:/b [text]"); return true; } return false; }