How to make some vehicles spawn with more health?
#1

Hey I need help with my server.
I want several vehicles to spawn with more health
I used the following example on "public OnVehicleSpawn"

Код:
    new model = GetVehicleModel(vehicleid);
    if(model == 596 && model == 599 && model == 601 && model == 427 && model == 490 && model == 470)
    {
        SetVehicleHealth(vehicleid, 3000);
    }
    return 1;
}
Reply
#2

http://forum.sa-mp.com/showpost.php?...33&postcount=5

This post could help you, but anyway I'm pretty sure that the vehicle would receive more damage than any other vehicle that has a health of 1000 by default.

Also, try searching next time would ya
Reply
#3

First thing u need to use || instead of &&
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)