23.09.2011, 00:52
na public voce colocou assim:
?
ficando:
pawn Код:
public OnVehicleDamageStatusUpdate(vehicleid, playerid);
ficando:
pawn Код:
public OnVehicleDamageStatusUpdate(vehicleid, playerid);
{
new veiculo;
new float:vida,Float:y,Float:x,Float:z;
veiculo = GetPlayerVehicleID(playerid);
GetVehicleHealth(veiculo, vida);
GetVehiclePos(veiculo, x, y, z);
if(vida > 200)
{
CreateObject(1211,x,y,z,0.0, 0.0, 96.0);
RemovePlayerFromVehicle(playerid);
return 1;
}
return 1;
}