19.08.2012, 10:29
how can i make it in my server then when i start the gm and then say /createveh 402 when it spawns it will have 5000 hp instead of 1000hp?
//COMMAND - This is an example.
{
new Float:pPos[3];
GetPlayerPos(playerid, pPos[0], pPos[1], pPos[2]);
new vehicleid = CreateVehicle(402, pPos[0], pPos[1], pPos[2], 0.0, -1, -1, 60);
SetVehicleHealth(vehicleid, 5000.0);// <
return 1;
}