[HELP] TextCommands!
#1

I got this :

pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
    new cmd[256];
   

    if(strcmp(cmd, "/help", true) == 0) {
    SendClientMessage(playerid, 0x33AA33AA, "•••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••");
    SendClientMessage(playerid, 0xFFFF00AA, "JOBS: /plane /taxidriver /busdriver");
    SendClientMessage(playerid, 0xFFFF00AA, "CMDS: /pm /sendmoney /help");
    SendClientMessage(playerid, 0x33AA33AA, "•••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••");
  return 1;
    }

   
    if(strcmp(cmd, "/rules", true) == 0) {
    SendClientMessage(playerid, 0x33AA33AA, "•••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••");
    SendClientMessage(playerid, 0xFFFF00AA, "Welcome to Orizon RolePlay And Thank You for reading our Rules!");
    SendClientMessage(playerid, 0xFFFF00AA, "1. DeathMatch And DriveBy : ");
    SendClientMessage(playerid, 0xFFFF00AA, "   If you are NOT a Hitman, you are not allowed to kill ");
    SendClientMessage(playerid, 0xFFFF00AA, "   peoples for no reasons. DriveBy are not allowed. If ");
    SendClientMessage(playerid, 0xFFFF00AA, "   someone report you for DriveBy Kills, You will be");
    SendClientMessage(playerid, 0xFFFF00AA, "   kicked from the server and your name will be added");
    SendClientMessage(playerid, 0xFFFF00AA, "   in our Black List.");
    SendClientMessage(playerid, 0x33AA33AA, "•••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••");
  return 1;
    }

    return 1;
}
When i do /help it say the help text but when i do /rules it say the help text... why?

sorry for my english!
Reply


Messages In This Thread
[HELP] TextCommands! - by Smiths - 12.09.2009, 12:44
Re: [HELP] TextCommands! - by [eLg]Timmy - 12.09.2009, 12:49
Re: [HELP] TextCommands! - by Smiths - 12.09.2009, 12:50
Re: [HELP] TextCommands! - by Smiths - 12.09.2009, 12:58
Re: [HELP] TextCommands! - by [eLg]Timmy - 12.09.2009, 13:16
Re: [HELP] TextCommands! - by Smiths - 12.09.2009, 13:19
Re: [HELP] TextCommands! - by [eLg]Timmy - 12.09.2009, 13:20
Re: [HELP] TextCommands! - by Smiths - 12.09.2009, 13:29
Re: [HELP] TextCommands! - by Smiths - 12.09.2009, 14:20
Re: [HELP] TextCommands! - by MadeMan - 12.09.2009, 14:54

Forum Jump:


Users browsing this thread: 1 Guest(s)