Return an array in public
#2

pawn Код:
public OnPlayerText(playerid, text[])
{
    new string[160], pName[32];
    GetPlayerName(playerid, pName, sizeof(pName));
    if(GetPVarInt(playerid, "Infected") == 1)
    {
        format(string, sizeof(string), "[Person %d]: %s", GetNumber(pName), text);
            SendClientMessageToAll(0xFFFFFFFF,string);
        return 0;
    }
    else return 1;
}
Try this.
Reply


Messages In This Thread
Return an array in public - by Homerman - 16.10.2011, 21:05
Re: Return an array in public - by AeroBlast - 16.10.2011, 21:14
Re: Return an array in public - by Homerman - 17.10.2011, 13:05
Re: Return an array in public - by [Diablo] - 17.10.2011, 13:10

Forum Jump:


Users browsing this thread: 2 Guest(s)