Advertisement
Guest User

Untitled

a guest
Nov 21st, 2019
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.78 KB | None | 0 0
  1. #IfWinActive, GTA:SA:MP
  2. #NoEnv
  3. #Persistent
  4. #SingleInstance Force
  5. #UseHook
  6.  
  7. #include SAMP-API.ahk
  8. #include Overlay-API.ahk
  9.  
  10. SetTimer, MainTimer, ON
  11.  
  12. DestroyAllVisual()
  13.  
  14. SetParam("use_window", "1")
  15. SetParam("window", "GTA:SA:MP")
  16.  
  17. if(WinActive("GTA:SA:MP") && IsSAMPAvailable())
  18. overlay := TextCreate("Geneva", 8, 1, 0, 5, 585, 0xFFFFFFFF, "/", 0, true)
  19.  
  20.  
  21. MainTimer:
  22. name := GetPlayerName()
  23. id := GetPlayerId()
  24. waffe := GetPlayerWeaponName()
  25. waffeid := GetPlayerWeaponId()
  26. skinid := GetPlayerSkinId()
  27. intid := GetPlayerInteriorId()
  28. city := GetPlayerCity()
  29. zone := GetPlayerZone()
  30. ping := GetPlayerPingById(GetPlayerId())
  31. fps := GetFrameRate()
  32. ap := GetPlayerArmor()
  33. hp := GetPlayerHealth()
  34.  
  35. string := "HP: " hp " | FPS: " fps ""
  36. TextSetString(overlay, string)
  37. return
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement