06.10.2014, 18:55
pawn Код:
public ServerTimer()
{
for(new i; i < MAX_VEHICLES; i++)
{
if(i != INVALID_VEHICLE_ID)
{
new Float:vHp;
GetVehicleHealth(i, vHp);
if(vHp != 999.0) SetVehicleHealth(i, 999.0);
}
}
return (true);
}
public ServerTimer()
{
for(new i; i < MAX_VEHICLES; i++)
{
if(i != INVALID_VEHICLE_ID)
{
new Float:vHp;
GetVehicleHealth(i, vHp);
if(vHp != 999.0) SetVehicleHealth(i, 999.0);
}
}
return (true);
}
public OnUnoccupiedVehicleUpdate(vehicleid, playerid, passenger_seat, Float:new_x, Float:new_y, Float:new_z, Float:vel_x, Float:vel_y, Float:vel_z)