Whats Wrong With This
#2

Код:
PlayerInfo[playerid][pJailTime]--;
Example: (in a timer i assume)

Код:
PlayerInfo[playerid][pJailTime]--;
if(PlayerInfo[playerid][pJailTime] < 1)
{
	// Out of jail

}
else
{
	new timeleft[24];
	format(timeleft, sizeof(timeleft), "Secounds left: %i", PlayerInfo[playerid][pJailTime]);
	GameTextForPlayer(playerid, timeleft, 3000, 4);
}
// correct me if the code is wrong
Reply


Messages In This Thread
Whats Wrong With This - by bubka3 - 23.10.2009, 22:53
Re: Whats Wrong With This - by Vetle - 23.10.2009, 22:55
Re: Whats Wrong With This - by bubka3 - 23.10.2009, 23:17

Forum Jump:


Users browsing this thread: 1 Guest(s)