08.04.2017, 01:37
Quote:
PHP код:
Imagem: Aqui... |
PHP код:
public OnPlayerText(playerid, text[])
{
if(text[0] == '!')
{
for(new i = 0; i < MAX_PLAYERS; i++)
{
format(String, sizeof(String), "%s[%i]: %s",Nome(playerid), playerid, text);
if(PlayerOrgInfo[i][PMilitar] == true)
{
SendClientMessage(i, -1, String);
}
}
}
return 0;
}