Diffrent times? - 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Diffrent times? (
/showthread.php?tid=94062)
Diffrent times? -
_Vortex - 27.08.2009
Hello, I want to make my server have different times.. Like so..
When the gamemode first starts, it starts with morning, then it goes to afternoon after 10 or so mins.. then after another 10 mins, it goes to evening, and after another 10 mins it goes to midnight. and then it goes back to morning.
How do I do this? :P
Re: Diffrent times? -
_ERO_ - 27.08.2009
Quote:
Originally Posted by [B
Vortex ]
Hello, I want to make my server have different times.. Like so..
When the gamemode first starts, it starts with morning, then it goes to afternoon after 10 or so mins.. then after another 10 mins, it goes to evening, and after another 10 mins it goes to midnight. and then it goes back to morning.
How do I do this? :P
|
my problem is similar, but i can say to you this
Add in OnPlayerSpawn this.
pawn Код:
public OnPlayerSpawn(playerid)
{
TogglePlayerClock(playerid, 1);
return 1;
}
But,
no is sycn with all players, is what i need fix, and i ask that now lol
Re: Diffrent times? -
_Vortex - 27.08.2009
Quote:
Originally Posted by ER0
Quote:
Originally Posted by [B
Vortex ]
Hello, I want to make my server have different times.. Like so..
When the gamemode first starts, it starts with morning, then it goes to afternoon after 10 or so mins.. then after another 10 mins, it goes to evening, and after another 10 mins it goes to midnight. and then it goes back to morning.
How do I do this? :P
|
my problem is similar, but i can say to you this
Add in OnPlayerSpawn this.
pawn Код:
public OnPlayerSpawn(playerid) { TogglePlayerClock(playerid, 1); return 1; }
But, no is sycn with all players, is what i need fix, and i ask that now lol
|
I dont want a clock, I just want the times of day to change.
Re: Diffrent times? -
Correlli - 27.08.2009
Then create a timer in which you're going to change the server-world-time.
Re: Diffrent times? -
_Vortex - 27.08.2009
Quote:
Originally Posted by Don Correlli
Then create a timer in which you're going to change the server-world-time.
|
I have no clue how to use timers. Hesse why I posted here.
Re: Diffrent times? -
ronyx69 - 27.08.2009
http://forum.sa-mp.com/index.php?top...1478#msg701478
Re: Diffrent times? -
_Vortex - 27.08.2009
Quote:
Originally Posted by Ronyx69
|
Thanks
Re: Diffrent times? -
_Vortex - 27.08.2009
Wait, now my gamemode is getting random errors..
Quote:
C:\Users\Damien\Desktop\samp server\gamemodes\LVTDMFIX.pwn(42) : error 021: symbol already defined: "AddPlayerClass"
C:\Users\Damien\Desktop\samp server\gamemodes\LVTDMFIX.pwn(52) : error 021: symbol already defined: "AddStaticVehicle"
C:\Users\Damien\Desktop\samp server\gamemodes\LVTDMFIX.pwn(439) : error 021: symbol already defined: "AddStaticVehicle"
C:\Users\Damien\Desktop\samp server\gamemodes\LVTDMFIX.pwn(444) : error 021: symbol already defined: "CreateObject"
C:\Users\Damien\Desktop\samp server\gamemodes\LVTDMFIX.pwn(466) : error 021: symbol already defined: "CreateObject"
C:\Users\Damien\Desktop\samp server\gamemodes\LVTDMFIX.pwn(487) : error 010: invalid function or declaration
C:\Users\Damien\Desktop\samp server\gamemodes\LVTDMFIX.pwn(744) : warning 217: loose indentation
C:\Users\Damien\Desktop\samp server\gamemodes\LVTDMFIX.pwn(746) : warning 217: loose indentation
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
6 Errors.
|
Re: Diffrent times? -
Correlli - 27.08.2009
Make sure you didn't missed any bracket.
Re: Diffrent times? -
_Vortex - 27.08.2009
Quote:
Originally Posted by Don Correlli
Make sure you didn't missed any bracket.
|
Ah, I made a stupid mistake prior to adding that to my script :P Thanks anyways