[HELP] Commands wont work...
#6

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

    if(strcmp(cmd, "/test", true) == 0)
    {
        if(gTeam[playerid] == TEAM_ARMY)
        {
        SendPlayerFormattedText(playerid,"You are in army.",0);
    }
        else
        {
        SendPlayerFormattedText(playerid,"You are not in the army",0);
    }
    return 1;
    }
    return 0;
}
Reply


Messages In This Thread
[HELP] Commands wont work... - by Smiths - 12.03.2010, 20:40
Re: [HELP] Commands wont work... - by aircombat - 12.03.2010, 20:51
Re: [HELP] Commands wont work... - by Smiths - 12.03.2010, 20:55
Re: [HELP] Commands wont work... - by SlashPT - 12.03.2010, 20:57
Re: [HELP] Commands wont work... - by Smiths - 12.03.2010, 20:59
Re: [HELP] Commands wont work... - by SlashPT - 12.03.2010, 21:01
Re: [HELP] Commands wont work... - by aircombat - 12.03.2010, 21:03
Re: [HELP] Commands wont work... - by Smiths - 12.03.2010, 21:03
Re: [HELP] Commands wont work... - by SlashPT - 12.03.2010, 21:04
Re: [HELP] Commands wont work... - by aircombat - 12.03.2010, 21:06
Re: [HELP] Commands wont work... - by Smiths - 12.03.2010, 21:23
Re: [HELP] Commands wont work... - by Smiths - 12.03.2010, 21:26
Re: [HELP] Commands wont work... - by aircombat - 12.03.2010, 21:29
Re: [HELP] Commands wont work... - by Smiths - 12.03.2010, 21:32
Re: [HELP] Commands wont work... - by aircombat - 12.03.2010, 21:52
Re: [HELP] Commands wont work... - by Smiths - 12.03.2010, 21:59
Re: [HELP] Commands wont work... - by aircombat - 12.03.2010, 22:03
Re: [HELP] Commands wont work... - by Smiths - 12.03.2010, 22:12
Re: [HELP] Commands wont work... - by aircombat - 12.03.2010, 22:36
Re: [HELP] Commands wont work... - by Smiths - 12.03.2010, 22:45
Re: [HELP] Commands wont work... - by aircombat - 12.03.2010, 22:54
Re: [HELP] Commands wont work... - by Smiths - 12.03.2010, 23:49

Forum Jump:


Users browsing this thread: 1 Guest(s)