16.04.2009, 19:16
The problem comes when i do the /about code
Код:
public OnPlayerCommandText(playerid, cmdtext[]) { dcmd(login,5,cmdtext); dcmd(register,8,cmdtext); if(strcmp(cmdtext, "/help carshop", true) == 0) { if(IsAtCarshop(playerid, 0)) { SendClientMessage(playerid,blue,"[!] Find a Car Dealer, and see what vehicles he has for sale."); } else { SendClientMessage(playerid,blue,"[!] You must be at the CarShop to use this command!"); } return 1; } if(strcmp(cmdtext, "/help", true) == 0) { SendClientMessage(playerid,LIGHTGREEN,"--------------------------------------------------------"); SendClientMessage(playerid,LIGHTGREEN,"Type '/help' to bring up this help menu."); SendClientMessage(playerid,LIGHTGREEN,"--------------------------------------------------------"); } return 1; } //if(strcmp(cmdtext, "/about", true) == 0) // { // SendClientMessage(playerid,ADMINRED,"--------------------------------------------------------"); // SendClientMessage(playerid,ADMINRED,"About EviL Role Play"); // SendClientMessage(playerid,ADMINRED,"=="); SendClientMessage(playerid,ADMINRED,"--------------------------------------------------------"); // } // return 1; // }