Who can help me
#1

Who can help me with this command to work with if(PlayerInfo[playerid][Radio] < 1)
i try this but no work who can help me

PHP код:
CMD:ar(playeridparams[])
{
    if(
gTeam[playerid] == TEAM_POLICE)
    {
        new 
string[100], pname[24];
        if(
isnull(params)) return SendClientMessage(playeridCOLOR_RED"USAGE: /ar [msg]");
        
GetPlayerName(playeridpname24);
        
format(stringsizeof(string), "** %s [%d] At [A-F Radio]: %s",pname,playerid,params);
        
printf("%s"string);
        for(new 
i=0;i<MAX_PLAYERS;i++)
        {
           if(
IsPlayerConnected(i)) if(gTeam[i] == TEAM_POLICESendClientMessage(iCOLOR_WHITEstring);
        }
    } else 
SendClientMessage(playeridCOLOR_RED"Only The Airforce Can Use This Radio!");
    return 
1;

Who can help me with this command to work with if(PlayerInfo[playerid][Radio] < 1)
i try this but no work who can help me
Reply


Messages In This Thread
Who can help me - by rumen98 - 27.07.2012, 14:11
Re: Who can help me - by Glint - 27.07.2012, 14:14
Re: Who can help me - by rumen98 - 27.07.2012, 14:17

Forum Jump:


Users browsing this thread: 1 Guest(s)