Advertisement
Guest User

Untitled

a guest
Jun 4th, 2023
999
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.59 KB | None | 0 0
  1. //---------- GangZones
  2. new ParkGlen;
  3. new DonoParkGlen;
  4.  
  5. public OnGamemodeInit()
  6. {
  7.  
  8. //-------Gangzone
  9. ParkGlen = GangZoneCreate(1857.559570, -1254.249023, 2060.889160, -1142.216430);
  10.  
  11. new str[15];
  12. format(str, 15, "GangZones.ini");
  13. DonoParkGlen = dini_Int(str, "ParkGlen");
  14. return 1;
  15. }
  16.  
  17. public OnGameModeExit()
  18. {
  19. new str[15];
  20. format(str, 15, "GangZones.ini");
  21. if(!dini_Exists(str)) dini_Create(str);
  22.  
  23. dini_IntSet(str, "ParkGlen", DonoParkGlen);
  24. return 1;
  25. }
  26.  
  27. public OnPlayerConnect(playerid)
  28. {
  29. GangZoneShowForPlayer(playerid, ParkGlen, 0xFFFFFF99);
  30. return 1;
  31. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement