03.09.2013, 16:31
How to make that ?
public OnPlayerText(playerid, text[])
{
if(PlayerInfo[playerid][pAdminLevel] >= 1)
{
new String[128],
name[MAX_PLAYER_NAME]
;
format(String, sizeof(String), "[PREFIX] %s: %s", name, text);
SendClientMessageToAll(0xFFFFFFF, String);
return 1;
}
return 0;
}