Can Someone Give me the code to the /b
#8

Ya .. One bracket after ELSE is extra

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;
}
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)