SA-MP Forums Archive
How to disable time in server - 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: How to disable time in server (/showthread.php?tid=105168)



How to disable time in server - sgvaibhav - 28.10.2009

This is a part of script from my server.cfg
(and i got SA:MP 0.3a)

gamemode0 lvdm 1
filterscripts base gl_actions freeroam
announce 1
query 1
maxnpc 0

I wanted to know, how to disable the time.


Re: How to disable time in server - Sergei - 28.10.2009

Disable a time? You can't really "disable" it, but if you never change it it will stay the same.


Re: How to disable time in server - sgvaibhav - 28.10.2009

disable in the sense, i don't want the time to change. it should stay like 12:00 noon always
how do i do that?


Re: How to disable time in server - Cedimedi - 28.10.2009

TooglePlayerClock and SetPlayerTime


Re: How to disable time in server - sgvaibhav - 28.10.2009

where to type this??
and i want it 12 noon (so what do i exactly write?)


Re: How to disable time in server - MadeMan - 28.10.2009

You have to find where in your script SetWorldTime or SetPlayerTime is used and remove it.


Re: How to disable time in server - sgvaibhav - 28.10.2009

lol i dont have a script.


Re: How to disable time in server - MadeMan - 28.10.2009

server.cfg is not a script, it's your server settings. Script is a .pwn file in .../gamemodes/ folder.


Re: How to disable time in server - MenaceX^ - 28.10.2009

Quote:
Originally Posted by MadeMan
server.cfg is not a script, it's your server settings. Script is a .pwn file in .../gamemodes/ folder.
The AMX should be there, not the script itself.


Re: How to disable time in server - sgvaibhav - 28.10.2009

i use "lvdm" for the gamemode.
in the game mode, there r 2 files for the lvdm gamemode.
one is the pwn file and the other is the amx file.
So which file do i need to edit, and with which software to make the time constant at 12 noon.