Advertisement
Guest User

Untitled

a guest
Sep 15th, 2019
134
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.50 KB | None | 0 0
  1. void main()
  2. {
  3. if (!SF->getSAMP()->getPlayers()->pLocalPlayer->byteWeaponInventory[2] == 24)
  4. return;
  5. if (SF->getSAMP()->getPlayers()->pLocalPlayer->sCurrentVehicleID == 0 || SF->getSAMP()->getPlayers()->pLocalPlayer->sCurrentVehicleID == USHRT_MAX)
  6. return;
  7.  
  8. ems.iPlayerID = GetPlayerInStream();
  9.  
  10. if (GetTickCount() - dwTimer > 100)
  11. {
  12. for (int i = 0; i < 5; i++)
  13. {
  14. send_BulletData();
  15. SF->getSAMP()->sendGiveDamage(ems.iPlayerID, 46.20, 24, 3);
  16. }
  17. dwTimer = GetTickCount();
  18. }
  19. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement