06.05.2020, 12:13
https://sampwiki.blast.hk/wiki/CreatePickup
https://sampwiki.blast.hk/wiki/OnPlayerPickUpPickup
Under OnPlayerPickUpPickup where the pickupid is the one of the health ones:
https://sampwiki.blast.hk/wiki/OnPlayerPickUpPickup
Under OnPlayerPickUpPickup where the pickupid is the one of the health ones:
Code:
new playermoney = GetPlayerMoney(playerid); if(playermoney < 1200) { //do what you want return 0; }