cone97

Untitled

Jun 26th, 2017
112
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.52 KB | None | 0 0
  1. forward RentProvera(playerid);
  2. public RentProvera(playerid)
  3. {
  4. if(rentmin[playerid] >= 1)
  5. {
  6. rentmin[playerid] --;
  7. }
  8. if(rentmin[playerid] == 0)
  9. {
  10. KillTimer(renttime[playerid]);
  11. SetVehicleToRespawn(Rentano[playerid]);
  12. SetVehicleHealth(Rentano[playerid], 999.99);
  13. RentV[idrentav[playerid]][rRentano] = -1;
  14. idrentav[playerid] = -1;
  15. Rentano[playerid] = -1;
  16. KillTimer(renttime[playerid]);
  17. rentmin[playerid] = 0;
  18. GameTextForPlayer(playerid, "~w~Vase vozilo je unrentano!", 5000, 3);
  19. }
  20. return 1;
  21. }
Advertisement
Add Comment
Please, Sign In to add comment