Posts: 1,534
Threads: 179
Joined: Apr 2009
how to remove 1 timer?
Posts: 1,534
Threads: 179
Joined: Apr 2009
Quote:
Originally Posted by ► James_Alex
use
KillTimer
|
where?
Posts: 250
Threads: 64
Joined: Feb 2009
Reputation:
0
I tink he/she is talkin about the clock , it's a bad ideea to put an clock because most of the server already have one.
I don't know if it's going to work , but try TogglePlayerClock(playerid,0) at ongamemodeinit .
Posts: 1,534
Threads: 179
Joined: Apr 2009
Quote:
Originally Posted by ► James_Alex
try
pawn Код:
new mytimer; // in the top of the script
mytimer = SetTimer...// your timer functions
// then where you want to stop the timer KillTimer(mytimer);
|
thx.. do you know how to set the server time thats it is always midnight?
Posts: 1,534
Threads: 179
Joined: Apr 2009
Quote:
Originally Posted by ZeeX
pawn Код:
public OnPlayerConnect(plaeyrid) { TogglePlayerClock(playerid, 0); return 1; }
|
if i remove that the timer will not show?
Yes, you will have only real time clock
Posts: 1,534
Threads: 179
Joined: Apr 2009
thx ZeeX ... now how to do always night?
Posts: 7
Threads: 0
Joined: Dec 2008
Reputation:
0
Remove gl_realtime filterscript from server.cfg