OnPlayerText (Small bug)
#3

Quote:
Originally Posted by Rajat_Pawar
Посмотреть сообщение
pawn Код:
public OnPlayerText(playerid, text[])
{
    if(PlayerInfo[playerid][pAdmin] != 5)
    {
    new admintext[128], name[MAX_PLAYER_NAME];
    GetPlayerName(playerid, name, sizeof (name));
    format(admintext, sizeof (admintext), "[DIRECTOR] %s (%i): %s", name,playerid,text);
    SendPlayerMessageToAll(-1, admintext);
    return 0;
    }
}
Try this.
This makes it just

Bamf: hi

Thanks though
Reply


Messages In This Thread
OnPlayerText (Small bug) - by Lz - 13.12.2012, 12:08
Re: OnPlayerText (Small bug) - by RajatPawar - 13.12.2012, 12:10
Re: OnPlayerText (Small bug) - by Lz - 13.12.2012, 12:15
Re: OnPlayerText (Small bug) - by [HK]Ryder[AN] - 13.12.2012, 12:16

Forum Jump:


Users browsing this thread: 1 Guest(s)