Need help
#1

Hello , well I made a Army Radio Team Chat but when I type /armyradio Test or anything else the text won't appear ok this is my code:
pawn Код:
ocmd:armyradio(playerid,params[])
{
    for(new i = 0; i < MAX_PLAYERS; i++)
    if(GetPVarInt(playerid,"Survivor")==2)
    {
        if(GetPVarInt(i,"Survivor")==2)
        {
            new string[256],text[128];
            if(sscanf(params,"us",text))return SendClientMessage(playerid,red,"/armyradio [text]");
            format(string,256,"{41A600}[ARMY RADIO] {00EBFF}%s: {FF5A00}%s",PlayerName(playerid),text);
            SendClientMessage(i,red,string);
        }
    }
    return 1;
}
Reply


Messages In This Thread
Need help - by zombieking - 02.10.2011, 14:36
Re: Need help - by Pharrel - 02.10.2011, 14:37
Re: Need help - by zombieking - 02.10.2011, 14:39
Re: Need help - by zombieking - 02.10.2011, 15:32
Re: Need help - by Libra_PL - 02.10.2011, 15:34
Re: Need help - by zombieking - 02.10.2011, 15:34

Forum Jump:


Users browsing this thread: 1 Guest(s)