Vice City Multiplayer
VC:MP 0.3 => mIRC/pawn Scripting => Topic started by: sseebbyy on February 11, 2012, 11:25:20 pm
-
I don't know why, but the fuel decrease fast after some time .
Now is 45 , after 30 seconds 44, after another 30 seconds (think) 43 , and he start to decrease fast now. After 15 seconds 42 after 12 seconds 41 after 10 seconds 40 etc.
This is my own Fuel System
~script deleted~
Reason: This script make part from my new GM .
What need to fix ?
-
The UpdateGas and CheckGas functions are made for the entire server, yet you start and stop them after players enter and exit vehicles. Multiple timer instances are created, and my guess is that some of them aren't stopping.
-
I thought about it, but never tried :-\ .
So , if i will put at Ongamemodeinit need put and if(IsPlayerConnected(i)) {
thank you stormeus.