Posts: 28
Threads: 9
Joined: Jun 2015
Reputation:
0
I have a problem with gas at car . When i open the server all cars are fuel 0 ! What is the problem ? How fix it ?
Posts: 1,167
Threads: 57
Joined: Jul 2010
Reputation:
0
under OnGameModeInit add
for(new i; i < sizeof(YOUR_CARS_AMOUNT); i++)
{
YOUR_GAS_VARIABLE[i] = 100;
}
OR at the top of the script
new YOUR_GAS_VARIABLE[YOUR_CARS_AMOUNT] = {100,...};