timer for multiple players
#5

PHP код:
public UnJail(playerid)
{
    if(
jailed[playerid] == 1)
        {
        new 
pname[MAX_PLAYER_NAME];
        new 
string[60];
        
GetPlayerName(playeridpnamesizeof(pname));
        
SetPlayerPos(playerid255.2078,86.6854,1002.4453);
        
SetPlayerInterior(playerid6);
        
SetPlayerFacingAngle(playerid90);
        
format(stringsizeof(string), "%s (%d) has been Released from Jail."pnameplayerid);
        
SendClientMessageToAll(0xFFFFFFFFstring);
        
jailed[playerid] = 0;
        }

is better than the loop if you want my opinion
loop is for all players but " playerid " is only for 1 player ^^
Reply


Messages In This Thread
timer for multiple players - by tommzy09 - 12.08.2014, 14:12
Re: timer for multiple players - by Vince - 12.08.2014, 14:41
Re: timer for multiple players - by GGW - 12.08.2014, 14:45
Re: timer for multiple players - by tommzy09 - 12.08.2014, 14:58
Re: timer for multiple players - by GGW - 12.08.2014, 15:02
Re: timer for multiple players - by Stinged - 12.08.2014, 15:04
Re: timer for multiple players - by GGW - 12.08.2014, 15:08
Re: timer for multiple players - by tommzy09 - 12.08.2014, 15:22
Re: timer for multiple players - by Stinged - 12.08.2014, 15:31
Re: timer for multiple players - by ikkentim - 13.08.2014, 18:36

Forum Jump:


Users browsing this thread: 1 Guest(s)