Guest User

Untitled

a guest
May 15th, 2014
258
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.61 KB | None | 0 0
  1. new Float:health;
  2. new car = GetPlayerVehicleID(playerid);
  3.  
  4. if(IsPlayerInAnyVehicle(playerid)==1)
  5. format(String, 250,"%.2f",GetVehicleHealth(car, health));
  6. Textdrawcar = TextDrawCreate(491.000000, 322.000000, String);
  7. TextDrawBackgroundColor(Textdrawcar, 255);
  8. TextDrawFont(Textdrawcar, 2);
  9. TextDrawLetterSize(Textdrawcar, 0.500000, 1.000000);
  10. TextDrawColor(Textdrawcar, 1367916799);
  11. TextDrawSetOutline(Textdrawcar, 0);
  12. TextDrawSetProportional(Textdrawcar, 1);
  13. TextDrawSetShadow(Textdrawcar, 1);
  14. TextDrawShowForPlayer(playerid,Textdrawcar);
  15. if(IsPlayerInAnyVehicle(playerid)==0) return TextDrawDestroy(Textdrawcar);
Advertisement
Add Comment
Please, Sign In to add comment