08.04.2017, 01:06
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 1;
}
Imagem: Aqui...