SA-MP Forums Archive
Need a little help.... - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Need a little help.... (/showthread.php?tid=178251)



Need a little help.... - martynas - 21.09.2010

Hi,


I have the cars script ,everything allright you can buy car and in it will be 40l fuel.
But when you enter to the job car there is 1l fuel so i want to ask how to make that when server starts to set all cars 40l fuel ?


There is something like that vehicleDB[i][gas]=40;


Re: Need a little help.... - Voldemort - 21.09.2010

OnGameModeInit
pawn Код:
for(new i = 0; i < MAX_VEHICLES; i++;)
{
vehicleDB[i][gas]=40;
}



Re: Need a little help.... - martynas - 21.09.2010

thanks