Thist isnt working correctly -.-
#1

ok i have this code under public ONVEHICLESPAWN

pawn Код:
if(GetVehicleModel(vehicleid) == 596 || GetVehicleModel(vehicleid) == 597 || GetVehicleModel(vehicleid) == 598) SetVehicleHealth(vehicleid,1500.0);

    if(GetVehicleModel(vehicleid) == 407 || GetVehicleModel(vehicleid) == 470) SetVehicleHealth(vehicleid,2000.0);

    if(GetVehicleModel(vehicleid) == 428 || GetVehicleModel(vehicleid) == 433 || (vehicleid) == 482) SetVehicleHealth(vehicleid,3000.0);

    if(GetVehicleModel(vehicleid) == 601 || GetVehicleModel(vehicleid) == 528) SetVehicleHealth(vehicleid,4000.0);

    if(GetVehicleModel(vehicleid) == 432) SetVehicleHealth(vehicleid,5000.0);
what i want it to do every vehicle in the server with thos ID's have their set HP but once i restart the server and go into it i have to /respawncars 50000 to make the HP the correct amounts please help
Reply


Messages In This Thread
Thist isnt working correctly -.- - by NinjaChicken - 18.08.2012, 06:53
Re: Thist isnt working correctly -.- - by Cjgogo - 18.08.2012, 06:58
Re: Thist isnt working correctly -.- - by NinjaChicken - 18.08.2012, 08:02
Re: Thist isnt working correctly -.- - by Cjgogo - 18.08.2012, 08:03
Re: Thist isnt working correctly -.- - by NinjaChicken - 18.08.2012, 08:05

Forum Jump:


Users browsing this thread: 2 Guest(s)