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



MiniGun Game - MahdiGames - 01.02.2014

Hello, Is possible to make every hour Minigun game for 2 mins for example after that disarm the player from minigun?


Re : MiniGun Game - mirou123 - 01.02.2014

You have to set a timer that is called every hour and inside that timer set a timer that is called one time in 2 minutes.
Useful functions
Код:
ResetPlayerWeapons(playerid);
GivePlayerWeapon(params,....) ;
SetPlayerColor(params,....) ;
SetTimerEx(params,..);
SetPlayerPos(params,...);
Remember that the function called in the timer should be a public and you have to start the first timer under OnGameModeInit


Re: MiniGun Game - MahdiGames - 01.02.2014

I know i want example about timers


Re: MiniGun Game - MahdiGames - 01.02.2014

Bump