07.07.2009, 22:23
I have one little problem...
It doesnt show errors or warnings when i press F5, but there is nothing happening...
I wanted it to be like when the car has less then 30 hp that then the car explodes but i wanted the explosion to be very very strong.
So can u help pls?
MSN: franko.opacak@windowslive.com
public OnVehicleSpawn(vehicleid)
{
new Floatcx, Floatcy, Floatcz;
new Float:abcd;
GetVehicleHealth(vehicleid, abcd);
if(abcd > 30.0)
GetVehiclePos(vehicleid,scx, scy, scz);
CreateExplosion(scx+1,scy+1,scz+1,6,100);
return 1;
}
It doesnt show errors or warnings when i press F5, but there is nothing happening...
I wanted it to be like when the car has less then 30 hp that then the car explodes but i wanted the explosion to be very very strong.
So can u help pls?
MSN: franko.opacak@windowslive.com
public OnVehicleSpawn(vehicleid)
{
new Floatcx, Floatcy, Floatcz;
new Float:abcd;
GetVehicleHealth(vehicleid, abcd);
if(abcd > 30.0)
GetVehiclePos(vehicleid,scx, scy, scz);
CreateExplosion(scx+1,scy+1,scz+1,6,100);
return 1;
}