If the vehicle health lower than 250, remove the player
#2

You can add this into your callback.
Код:
new Float:Health;
GetVehicleHealth(vehicleid,Health);
if(Health < 300.0)
{
	new Float:X;
	new Float:Y;
	new Float:Z;
	GetPlayerPos(playerid,X,Y,Z);
	SetPlayerPos(playerid,X,Y,Z);
}
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)