strcmp
#1

pawn Code:
if(strcmp("/stopcar", cmdtext, true, 10) == 0)
    {
        if(PlayerInfo[playerid][pMember] == 1 || PlayerInfo[playerid][pLeader] == 1 || PlayerInfo[playerid][pMember] == 2 || PlayerInfo[playerid][pLeader] == 2 || PlayerInfo[playerid][pMember] == 3 || PlayerInfo[playerid][pLeader] == 3)
        {
            new string[256];
            new sendername[MAX_PLAYER_NAME];
            GetPlayerName(playerid, sendername, sizeof(sendername));
            format(string, sizeof(string), "*Federal Member %s is ordering you to stop you'r car.", sendername);
            ProxDetector(45.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
        }
        else
        {
            SendClientMessage(playerid, WHITE, "("COL_RED"Greska{FFFFFF}!) You are not federal member!");
        }
        return 1;
    }





I got 7 errors
Reply


Messages In This Thread
strcmp - by Stereotype - 10.06.2012, 07:19
Re: strcmp - by JaKe Elite - 10.06.2012, 07:28
Re: strcmp - by Stereotype - 10.06.2012, 07:29
Re: strcmp - by MP2 - 10.06.2012, 07:33
Re: strcmp - by Stereotype - 10.06.2012, 07:34
Re: strcmp - by MP2 - 10.06.2012, 07:36
Re: strcmp - by Stereotype - 10.06.2012, 07:39
Re: strcmp - by Faisal_khan - 10.06.2012, 07:47
Re: strcmp - by Stereotype - 10.06.2012, 07:48
AW: Re: strcmp - by Extremo - 10.06.2012, 07:51
Re: strcmp - by Faisal_khan - 10.06.2012, 07:52
Re: strcmp - by Stereotype - 10.06.2012, 07:53

Forum Jump:


Users browsing this thread: 1 Guest(s)