[Ajuda] Prender
#9

ai que estб meu brother

quando ele algema um individuo ele realmente faz a aзгo de algema que criei, mais antes de 10s de colocar o CMD /resistirse. ele pode algemar risistir algemar resistir pra sempre. e se acabar o tempo ele algema.


PHP код:
CMD:resistirse(playeridparams[])
{
    new 
string[126];
    if(
Esposando[playerid] == 1)
    {
        if(
PlayerInfo[playerid][pCargos] == 1)
        {
            
SetPlayerWantedLevel(playeridPlayerInfo[playerid][pCargos] = 2);
            foreach(
Playeri)
            {
                if(
PlayerInfo[i][pDuty] == 1)
                
SetPlayerMarkerForPlayer(iparams[0], c2_color);
            }
        }
        
TogglePlayerControllable(playerid,1);
        
SetPVarInt(playerid"IsFrozen"1);
        
Esposando[playerid] = 0;
        
SetPlayerSpecialAction(playeridSPECIAL_ACTION_NONE);
        
KillTimer(TimerEsposar[playerid]);
        
format(stringsizeof(string), "{3399FF}[Rбdio da policia]{FFFFFF} %s [%d] resistiu а prisгo, comeзa a perseguiзгo."NombreJugador(playerid),playerid);
          
format(string,sizeof(string),"[Rбdio da policia] (%s %s) disse: %s resistiu а prisгo, comeзou a perseguir.",RangoPolicia(Oficial[playerid]),NombreJugador(Oficial[playerid]), NombreJugador(playerid));
          
SendRadioMessage(10xFFFFFFFFstring,playerid);
        
ProxDetector(15.0playeridstringCOLOR_GRAD6COLOR_GRAD5COLOR_GRAD4COLOR_GRAD3COLOR_GRAD2);
    }
    else 
SendClientMessage(playerid, -1,"Vocк nгo estб sendo algemado para resistir.");
    return 
1;

Reply


Messages In This Thread
Prender - by JeanRocha - 12.12.2017, 23:18
Re: Prender - by C4rtm4n - 12.12.2017, 23:30
Re: Prender - by ViDaLoKa1 - 12.12.2017, 23:31
Re: Prender - by Gguiz - 12.12.2017, 23:32
Re: Prender - by JeanRocha - 12.12.2017, 23:35
Re: Prender - by C4rtm4n - 12.12.2017, 23:35
Re: Prender - by Gguiz - 12.12.2017, 23:37
Re: Prender - by JeanRocha - 12.12.2017, 23:37
Re: Prender - by JeanRocha - 12.12.2017, 23:43
Re: Prender - by JeanRocha - 12.12.2017, 23:51

Forum Jump:


Users browsing this thread: 4 Guest(s)