vehicle component crash - 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: vehicle component crash (
/showthread.php?tid=343616)
vehicle component crash -
ajwar - 18.05.2012
Hi, still having problems with vehicle tune. If a player is near a car with invalid tune he get's some warnings and finnaly crash.
Code i use to load:
pawn Код:
for(new i; i < 14; i++)
{
if(mod[i] >= 1000 && mod[i] <= 1193)
{
AddVehicleComponent(vCarID, mod[i]); //Adds the component
}
}
Is there any tune validation function/stock?
Re: vehicle component crash -
MP2 - 18.05.2012
Some mods only work on specific vehicles.
Re: vehicle component crash -
ajwar - 18.05.2012
how to fix that?
Re: vehicle component crash -
MP2 - 18.05.2012
Don't add them.