Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- new info[300];
- format(info, sizeof(info), "\
- SPEED: ~b~~h~%d ~w~FUEL: ~b~~h~%.0f/%.0f ~w~HEALTH: ~b~~h~%.0f ~w~~n~\
- MILEAGE: ~b~~h~%.1f %s %s %s %s\
- ", GetVehicleSpeed(playerid),
- VehicleInfo[vehicleid][vFuel],
- tank,
- vhealth,
- VehicleInfo[vehicleid][vMileage],
- (engine)?("~g~~h~ENG"):("~r~ENG"),
- (lights)?("~g~~h~LAMP"):("~r~LAMP"),
- VehicleInfo[vehicleid][vLock]?("~g~~h~LOCK"):("~r~LOCK"),
- (GetPVarInt(playerid, "BeltStatus"))?("~g~~h~BELT"):("~r~BELT"));
- PlayerTextDrawSetString(playerid, speed_text_TD[playerid], info);
- TextDrawShowForPlayer(playerid, speed_background_TD);
- PlayerTextDrawShow(playerid, speed_text_TD[playerid]);
- if(GetVehicleSpeed(playerid) >= 10 && GetPVarInt(playerid,"USEDIALOGID") && !IsKicked(playerid))
- {
- if(pTemp[playerid][pBusID] != vehicleid && vehicleid >= aBus[0] && vehicleid <= aBus[3]
- || pTemp[playerid][pTruckID] != vehicleid && vehicleid >= aTruck[0][0] && vehicleid <= aTruck[2][1]
- || pTemp[playerid][pTaxiID] != vehicleid && vehicleid >= taxicar[0] && vehicleid <= taxicar[4]
- || pTemp[playerid][pMechID] != vehicleid && vehicleid >= mechanic[0] && vehicleid <= mechanic[4])
- ToCheat(playerid, 3278);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement