[Help]Keep on changing - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: [Help]Keep on changing (
/showthread.php?tid=309285)
[Help]Keep on changing -
Tamao_Serizawa - 07.01.2012
I type /tod 0 0
It set to night then suddenly change to day again..?
I dont know why..
pawn Код:
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);
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;
}
Re: [Help]Keep on changing -
TheLonelyMoo - 07.01.2012
do you have time system? if you have time system then this is the problem causing the night to day again
Re: [Help]Keep on changing -
Tamao_Serizawa - 07.01.2012
ohh how can i change it?
Re: [Help]Keep on changing -
TheLonelyMoo - 07.01.2012
show me your time system code maybe i can help ??
Re: [Help]Keep on changing -
Tamao_Serizawa - 07.01.2012
whaat/
idk wheres the place of The time system code.
Re: [Help]Keep on changing -
TheLonelyMoo - 07.01.2012
did you remember anything putting a time system code on your gamemode or somewhere?
do you have teamviewer i can help you out