Hey again! Same Problem!
#1

Hello This command is worked only for first Player joined! If someone joined after Him! he can't use this command Why??

I wan't this command for all CIVILIAN worked not only for 1person!! How?
PHP код:
CMD:breakcuff(playeridparams[])
{
     if(
PoliceTeam(GetPlayerSkin(playerid))) return SendClientMessage(playerid, -1"{ff0000}Error: {Ffffff}Only Civilian can use this comamnd.");
     {
     new 
targetid;
     if(
BeginArrested[targetid] == && Civilian(GetPlayerSkin(targetid)))
     {
            
KillTimer(BeginArrestedTime[targetid]);
            
SendClientMessage(targetid, -1"{FF7000}YOU HAVE BEEN ESCAPED FROM ARRESTED!!! RUN RUN !!!!");
            
SetPlayerWantedLevel(targetid3);
            
SetPlayerColor(targetidYELLOW);
            
GameTextForPlayer(targetid"~Y~ESCAPED FROM ~G~ARRESTED ~P~ RUN BABY!!!"70005);
            
SetPlayerSpecialAction(targetid,SPECIAL_ACTION_NONE);
            
BeginArrested[targetid] = 0;
      }
            else if 
SendClientMessage(targetid, -1"{FF0000}Error: {FFFFFF}You can use this command only while be cuffed or arrested.");
            }
    return 
1;

Reply


Messages In This Thread
Hey again! Same Problem! - by Thanks - 06.05.2018, 18:21
Re: Hey again! Same Problem! - by Sielly - 06.05.2018, 19:46
Re: Hey again! Same Problem! - by kovac - 06.05.2018, 20:23
Re: Hey again! Same Problem! - by Thanks - 08.05.2018, 10:34

Forum Jump:


Users browsing this thread: 1 Guest(s)