SA-MP Forums Archive
In Game Clock - 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: In Game Clock (/showthread.php?tid=298381)



In Game Clock - Gooday - 20.11.2011

Hi, can some1 give me a IG clock scrpt (like single player)
*NOT REAL TIME*


Re: In Game Clock - MP2 - 20.11.2011

TogglePlayerClock.


Re: In Game Clock - Gooday - 20.11.2011

Quote:
Originally Posted by MP2
Посмотреть сообщение
TogglePlayerClock.
what i have to do?


Re: In Game Clock - Chrillzen - 20.11.2011

Add
Код:
TogglePlayerClock(playerid, 1);
under OnGameModeInit.


Re: In Game Clock - Macluawn - 20.11.2011

Quote:
Originally Posted by Chrillzen
Посмотреть сообщение
Add
Код:
TogglePlayerClock(playerid, 1);
under OnGameModeInit.
OnGameModeInit doesn't have playerid parameter.
Add it under OnPlayerConnect.


Re: In Game Clock - MP2 - 20.11.2011

https://sampwiki.blast.hk/wiki/TogglePlayerClock