A problem with my /jail command.
#6

Try this:
Код:
forward JailTime(playerid);
public JailTime(playerid)
{
	if (JTime[playerid] == 0)
	{
	TeamKill[playerid] = 0;
	JTime[playerid] = 0;
	SpawnPlayer(playerid);
	KillTimer(JTTimer[playerid]);
	TextDrawHideForPlayer(playerid, JailTextDraw[playerid]);
	return 1;
	}
	JTTimer[playerid] = SetTimer("JailTime", 1000, 0);
	new string[50];
	TextDrawShowForPlayer(playerid, JailTextDraw[playerid]);
	format(string, sizeof string, "~r~%i", JTime[playerid]-1);
	TextDrawSetString(JailTextDraw[playerid], string);
	JTime[playerid]--;
	return 1;
}
Reply


Messages In This Thread
A problem with my /jail command. - by Shetch - 04.03.2011, 23:08
Re: A problem with my /jail command. - by AK47317 - 04.03.2011, 23:12
Re: A problem with my /jail command. - by Shetch - 05.03.2011, 00:03
Re: A problem with my /jail command. - by Marricio - 05.03.2011, 00:14
Re: A problem with my /jail command. - by Shetch - 05.03.2011, 21:18
Re: A problem with my /jail command. - by Loppa - 05.03.2011, 22:53

Forum Jump:


Users browsing this thread: 1 Guest(s)