[AJUDA] Rapidin
#3

Quote:
Originally Posted by Don_Speed
View Post
PHP Code:
new Float:xFloat:yFloat:z;
    
GetPlayerPos(playeridxyz);
for(new 
0MAX_PLAYERSi++)
    {
       if(
i==playerid)return true;
       if(
IsPlayerInRangeOfPoint(i20.0xyz))
       {
          
SendClientMessage(i, -1TExto);
          return 
true;
       }
    } 
Pode aplicar isso neste comando?

PHP Code:
CMD:abordar(playeridparams[])
{
    if(
<= Profissao[playerid] <= 2)
    {
        new 
id;
        if(
sscanf(params,"u",id)) return SendClientMessage(playerid, -1"[PMESP] Use: /abordar [ID]");
        
SetPlayerSpecialAction(idSPECIAL_ACTION_CUFFED);
        new 
str[180], name[MAX_PLAYER_NAME];
        
GetPlayerName(id,  namesizeof(name));
        
format(strsizeof(str), "[PMESP] O Player %s Esta Sendo Abordado!"name);
        
SendClientMessageToAll(0xFF8040AAstr);
        
SendClientMessage(id0xFF8040AA"[PMESP] Voce Esta Sendo Abordado!");
    }
    else 
SendClientMessage(playerid0xFF0000AA"[PMESP]{FFFFFF} Voce Nao E Um Policia Militar!");
    return 
1;

Reply


Messages In This Thread
[AJUDA] Rapidin - by hurubuh - 06.03.2019, 17:22
Re: [AJUDA] Rapidin - by Don_Speed - 06.03.2019, 17:38
Re: [AJUDA] Rapidin - by hurubuh - 06.03.2019, 17:43
Re: [AJUDA] Rapidin - by Don_Speed - 06.03.2019, 17:55
Re: [AJUDA] Rapidin - by AutoMatic2 - 06.03.2019, 17:58

Forum Jump:


Users browsing this thread: 1 Guest(s)