Advertisement
Guest User

Untitled

a guest
Jun 27th, 2017
50
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.18 KB | None | 0 0
  1. new info[300];
  2. format(info, sizeof(info), "\
  3. SPEED: ~b~~h~%d ~w~FUEL: ~b~~h~%.0f/%.0f ~w~HEALTH: ~b~~h~%.0f ~w~~n~\
  4. MILEAGE: ~b~~h~%.1f %s %s %s %s\
  5. ", GetVehicleSpeed(playerid),
  6. VehicleInfo[vehicleid][vFuel],
  7. tank,
  8. vhealth,
  9. VehicleInfo[vehicleid][vMileage],
  10. (engine)?("~g~~h~ENG"):("~r~ENG"),
  11. (lights)?("~g~~h~LAMP"):("~r~LAMP"),
  12. VehicleInfo[vehicleid][vLock]?("~g~~h~LOCK"):("~r~LOCK"),
  13. (GetPVarInt(playerid, "BeltStatus"))?("~g~~h~BELT"):("~r~BELT"));
  14.  
  15. PlayerTextDrawSetString(playerid, speed_text_TD[playerid], info);
  16. TextDrawShowForPlayer(playerid, speed_background_TD);
  17. PlayerTextDrawShow(playerid, speed_text_TD[playerid]);
  18.  
  19. if(GetVehicleSpeed(playerid) >= 10 && GetPVarInt(playerid,"USEDIALOGID") && !IsKicked(playerid))
  20. {
  21. if(pTemp[playerid][pBusID] != vehicleid && vehicleid >= aBus[0] && vehicleid <= aBus[3]
  22. || pTemp[playerid][pTruckID] != vehicleid && vehicleid >= aTruck[0][0] && vehicleid <= aTruck[2][1]
  23. || pTemp[playerid][pTaxiID] != vehicleid && vehicleid >= taxicar[0] && vehicleid <= taxicar[4]
  24. || pTemp[playerid][pMechID] != vehicleid && vehicleid >= mechanic[0] && vehicleid <= mechanic[4])
  25. ToCheat(playerid, 3278);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement