16.01.2010, 19:37
can anyone help me ? its like when the health of the car is zero u die or what ever , and another thing how to make the players die when they exit vehicles ?
new Float:X; GetVehicleHealth(vehicleid,X); if(X == 0.0)SetPlayerHealth(playerid,0.0);
public OnPlayerExitVehicle(playerid, vehicleid)
{
SetPlayerHealth(playerid, 0.0);
return 1;
}
Originally Posted by AlbanianGuy
mademan , what do u mean show the code , cuz i am a new scripter ...
|
Originally Posted by AlbanianGuy
nono i am jsut saying htat i dont know how to put it there , can u help me how to and hwere to put it ? pls
|
public OnPlayerExitVehicle(playerid, vehicleid) { SetPlayerHealth(playerid, 0.0); return 1; } |