Time Help
#1

i made the timer

Код:
if (strcmp("/kill", cmdtext, true, 10) == 0)
	{
		new KillTime = GetTickCount();
    	if((KillTime - Kill[playerid]) > 300000)
    	{
	        SetPlayerHealth(playerid, 0);
	        Kill[playerid] = KillTime;
	        GameTextForPlayer(playerid, "~w~Grim Reaper~n~~r~Has Taken Your Soul!", 4500, 2);
    	}
		return 1;
	}
i just want when ever you write /kill again it shows: You can use /kill again in 0:05 Hours but the 0:05 i want it as a countdown so when ever he writes it, it will keep going down so if i write in in anther minute then it will show 0:04 hours...
Reply


Messages In This Thread
Time Help - by CurlyPwn - 07.05.2013, 12:35
Re: Time Help - by Jstylezzz - 07.05.2013, 12:36
Re: Time Help - by CurlyPwn - 07.05.2013, 12:48
Re: Time Help - by Jstylezzz - 07.05.2013, 13:00
Re: Time Help - by Pottus - 07.05.2013, 13:08

Forum Jump:


Users browsing this thread: 2 Guest(s)