Lil Problemo here - 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: Lil Problemo here (
/showthread.php?tid=244831)
Lil Problemo here -
bijoyekuza - 28.03.2011
Hey scirpters.
I wanted to make that whenever I run my server(OnGameModeInIt) then all of the vehicles engines will be turned off.
So I made
Under OnGameModeInIt)
for(new v = 0; v < MAX_VEHICLES; v++)
{
GetVehicleParamsEx(v,engine,lights,alarm,doors,bon net,boot,objective);
SetVehicleParamsEx(v,VEHICLE_PARAMS_OFF,lights,ala rm,doors,bonnet,boot,objective);
}
and it doesnt work.
no errors .