07.03.2019, 11:50
(
Last edited by PedroH; 07/03/2019 at 02:40 PM.
)
PHP Code:
publicOnPlayerText(playerid,text[])
{
if(Profissao[playerid]==Desempregado)
{
new string[128],nomej[MAX_PLAYER_NAME];
GetPlayerName(playerid,nomej,sizeof(nomej));
format(string,sizeof(string),"[Civil] %s [%d] diz: %s",nomej,playerid,text);
SendClientMessageToAll(0xFFFFFFAA,string);
}
else if(Profissao[playerid]==2)
{
GetPlayerName(playerid,nomej,sizeof(nomej));
format(string,sizeof(string),"[PolicialMilitar] %s [%d] diz: %s", nomej, playerid, text);
SendClientMessageToAll(0x00FFFFAA,*string);*
}
return 0;
}