08.01.2011, 21:31
why its not work(yea im lol)
its dont do nothing
this works, i know couse i get message then i get in car....
pawn Код:
public OnPlayerUpdate(playerid)
{
new
vehicleid = GetPlayerVehicleID(playerid);
if (vehicleDB[vehicleid][drausta])
{
if (GetVehicleHealth(vehicleid) < 400)
{
SetVehicleHealth(vehicleid,1000);
}
}
return 1;}
this works, i know couse i get message then i get in car....
pawn Код:
if (vehicleDB[vehicleid][drausta])