07.03.2019, 20:49
Essa sua verificaзгo de emprego ta muito estranho .
PHP Code:
public OnPlayerText(playerid, text[])
{
new string[128], nomej[MAX_PLAYER_NAME];
GetPlayerName(playerid, nomej, sizeof(nomej));
switch(Profissao[playerid])
{
case 0:{format(string, sizeof(string),"[Civil] %s [%d] diz: %s", nomej, playerid, text),SendClientMessageToAll(0x00FFFFAA, string);}
case 1 .. 2:{format(string, sizeof(string),"[PolicialMilitar] %s [%d] diz: %s", nomej, playerid, text),SendClientMessageToAll(0x00FFFFAA, string);}
}
return 0;
}