[Ajuda] /r
#1

Por que quando eu digito por exemplo:

Quote:

/r Bom Dia Soldados!

A mensagem sу aparece pra min? Queria que ele aparecesse pra quem e Policial.

PHP Code:
CMD:r(playeridparams[])
{
if(
Profissao[playerid] == || Profissao[playerid] == || Profissao[playerid] == 13 || Profissao[playerid] == 14 || Profissao[playerid] == || Profissao[playerid] == 8)
{
new 
texto[128], Don[128];
if(
sscanf(params"s[128]"texto)) return SendClientMessage(playerid, -1,"{FF00FF}[PDE | COP]{FFFFFF} Use: /r [TEXTO]");
switch(
Profissao[playerid])
{
case 
.. 2:format(Donsizeof Don"{00FFFF}[Chat Policia Militar] %s diz: %s"GetPlayerNameEx(playerid), texto);
case 
13 .. 14:format(Donsizeof Don"{2E8B57}[Chat Exercito] %s diz: %s"GetPlayerNameEx(playerid), texto);
}
SendClientMessage(playerid, -1Don);
}
else 
SendClientMessage(playerid0xFF0000AA"{E32636}[PDE | INFO]{FFFFFF}  Voce Nao E De Nenhuma ORG.");
return 
true;

Funзгo policia:

PHP Code:
if(Profissao[playerid] == || Profissao[playerid] == || Profissao[playerid] == 13 || Profissao[playerid] == 14 || Profissao[playerid] == || Profissao[playerid] == 8
Reply


Messages In This Thread
/r - by hurubuh - 13.04.2019, 18:24
Re: /r - by DarthVeider - 13.04.2019, 20:00
Re: /r - by MultiKill - 13.04.2019, 20:09
Re: /r - by Don_Speed - 13.04.2019, 22:46
Re: /r - by FerrariL - 13.04.2019, 23:49
Re: /r - by DarthVeider - 14.04.2019, 01:35
Re: /r - by hurubuh - 14.04.2019, 15:18
Re: /r - by FerrariL - 14.04.2019, 15:50
Re: /r - by hurubuh - 14.04.2019, 15:58
Re: /r - by FerrariL - 14.04.2019, 16:13
Re: /r - by Psicotico - 14.04.2019, 17:21
Re: /r - by hurubuh - 15.04.2019, 21:15
Re: /r - by ipsLuan - 15.04.2019, 21:31
Re: /r - by DarthVeider - 15.04.2019, 23:10
Re: /r - by Don_Speed - 15.04.2019, 23:11
Re: /r - by DarthVeider - 15.04.2019, 23:18
Re: /r - by hurubuh - 16.04.2019, 16:01

Forum Jump:


Users browsing this thread: 1 Guest(s)