SA-MP Forums Archive
Why does the timer Ex calls two 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)
+--- Thread: Why does the timer Ex calls two times (/showthread.php?tid=649594)



Why does the timer Ex calls two times - PundacheMakalae - 11.02.2018

<FIXED>


Re: Why does the timer Ex calls two times - jasperschellekens - 11.02.2018

Becuase you Call it for every player. Make it a global timer


Re: Why does the timer Ex calls two times - Mugala - 11.02.2018

bVaultGetouttime <-- this is a global variable, fix this and problem if still appears, show us this 2 timer scripts.


Re: Why does the timer Ex calls two times - PundacheMakalae - 11.02.2018

Quote:
Originally Posted by jasperschellekens
Посмотреть сообщение
Becuase you Call it for every player. Make it a global timer
Is it because of bVaultGetouttime, can i make it bVaultGetouttime[MAX_PLAYERS] to hold the time?


Re: Why does the timer Ex calls two times - Mugala - 11.02.2018

yeah you can.


Re: Why does the timer Ex calls two times - PundacheMakalae - 11.02.2018

Quote:
Originally Posted by Mugala
Посмотреть сообщение
yeah you can.
Okay thank you both.