jailing command
#3

Quote:
Originally Posted by sams90
Посмотреть сообщение
try this sir

PHP код:
forward PrisonTimer(); 
public 
PrisonTimer() 

    new 
string[128]; 
    
format(string,sizeof(string),"~r~Jailed Time Left: ~w~%d ~r~seconds"pInfo[playerid][JailedTime]);
    foreach(
Playerplayerid
    { 
        if(
pInfo[playerid][Jailed] == 2
        { 
            
KillTimer(PrisonTimer[playerid]);
            
pInfo[playerid][Jailed] = 0
            
pInfo[playerid][JailedTime] = 0
            
SetPlayerInterior(playerid0); 
            
SetPlayerVirtualWorld(playerid0); 
            
SetPlayerFacingAngle(playerid88.5042); 
            
SetPlayerColor(playeriderror); 
            
SetPlayerPos(playerid1548.8394,-1669.6111,13.5656); 
            
SetCameraBehindPlayer(playerid); 
            
SendClientMessage(playeridjblue" Time Served. Be on your best behaviour now :) ."); 
        } 
        else 
        { 
            
GameTextForPlayer(playeridstring15003); 
        } 
    } 
    
pInfo[playerid][JailedTime] --;
    return 
1

I dont think that will fix anything...
Reply


Messages In This Thread
jailing command - by 1fret - 17.04.2017, 03:32
Re: jailing command - by sams90 - 17.04.2017, 03:48
Re: jailing command - by 1fret - 17.04.2017, 03:56
Re: jailing command - by sams90 - 17.04.2017, 03:56
Re: jailing command - by 1fret - 17.04.2017, 04:25
Re: jailing command - by khRamin78 - 17.04.2017, 05:48
Re: jailing command - by 1fret - 17.04.2017, 19:39
Re: jailing command - by khRamin78 - 17.04.2017, 19:42
Re: jailing command - by 1fret - 17.04.2017, 19:45

Forum Jump:


Users browsing this thread: 3 Guest(s)