[Help]How do i make a jail?
#5

PHP код:

public SetPlayerUnjail() 

    foreach(
Player,i
    { 
         if(
Jailed[i] > 0
            { 
                if(
JailTime[i] > 0)                     JailTime[i]--; 
                if(
JailTime[i] <= 1
                { 
                    
JailTime[i] = 0
                    
Jailed[i] = 0;
                    
SetPlayerInterior(i0); 
                    
SetPlayerPos(i,x,y,z); 
                    
SendClientMessage(iCOLOR_GRAD1,"   Jail is over."); 
                    
format(stringsizeof(string), "~g~You are ~w~FREE!"); 
                    
GameTextForPlayer(istring50003); 
                } 
            } 
            
        } 
       return 
1

Reply


Messages In This Thread
[Help]How do i make a jail? - by TheKnown - 18.09.2015, 18:09
Re: [Help]How do i make a jail? - by Mister0 - 18.09.2015, 18:19
Re: [Help]How do i make a jail? - by jlalt - 18.09.2015, 18:22
Re: [Help]How do i make a jail? - by TheKnown - 18.09.2015, 18:56
Re: [Help]How do i make a jail? - by Mister0 - 18.09.2015, 19:06
Re: [Help]How do i make a jail? - by TheKnown - 18.09.2015, 19:19
Re: [Help]How do i make a jail? - by JordanZaundd - 18.09.2015, 19:26
Re: [Help]How do i make a jail? - by TheKnown - 18.09.2015, 19:27
Re: [Help]How do i make a jail? - by Mister0 - 18.09.2015, 19:27
Re: [Help]How do i make a jail? - by TheKnown - 18.09.2015, 19:36

Forum Jump:


Users browsing this thread: 2 Guest(s)