vehicle component crash
#1

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?
Reply
#2

Some mods only work on specific vehicles.
Reply
#3

how to fix that?
Reply
#4

Don't add them.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)