Time Help
#3

i wrote it up doesnt come up as minutes shows in mili seconds

Quote:

if (strcmp("/kill", cmdtext, true, 10) == 0)
{
format(string,sizeof(string),"You can not use /kill in %d hours",KillTime);
SendClientMessage(playerid,0xFFFFFFAA,string);
new KillTime = GetTickCount();
new string[64];
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;
}

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: 3 Guest(s)