[AJUDA] Texto
#6

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"nomejplayeridtext);
SendClientMessageToAll(0x00FFFFAA,*string);*
}
return 
0;

if(1<=Profissao[playerid]<=2) ta estranho pois, numeros maiores que 1 й menores que 2 so numeros quebrados, 1.2 1.5 etc...
Reply


Messages In This Thread
[AJUDA] Texto - by hurubuh - 06.03.2019, 23:10
Re: [AJUDA] Texto - by Cauezin - 06.03.2019, 23:21
Re: [AJUDA] Texto - by hurubuh - 06.03.2019, 23:29
Re: [AJUDA] Texto - by ipsLuan - 07.03.2019, 00:19
Re: [AJUDA] Texto - by Cauezin - 07.03.2019, 00:56
Re: [AJUDA] Texto - by PedroH - 07.03.2019, 11:50
Re: [AJUDA] Texto - by Don_Speed - 07.03.2019, 20:49

Forum Jump:


Users browsing this thread: 3 Guest(s)