time change
#1

When I write /tod [time] will change it for three seconds, then change it back how do I fix this?

Код:
CMD:tod(playerid, params[])
{
	if (PlayerInfo[playerid][pAdmin] >= 1337)
	{
		new string[128], time;
		if(sscanf(params, "d", time)) return SendClientMessageEx(playerid, COLOR_WHITE, "USAGE: /tod [time] (0-23)");

		SetWorldTime(time);
		FixHour(time);
		shifthour = time;
		ghour = time;
		wtime = time;
		gTime = time;
		format(string, sizeof(string), "Time set to %d:00.", time);
		BroadCast(COLOR_GRAD1, string);
	}
	else
	{
		SendClientMessageEx(playerid, COLOR_GRAD1, "You are not authorized to use that command");
	}
	return 1;
}
Reply
#2

U need to check ur Synctime at gamemode

Or U find some timers and check it out does it about the time

BTW. It ur scripted : )
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)