Pick-ups [+REP] - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Pick-ups [+REP] (
/showthread.php?tid=538042)
Pick-ups [+REP] -
Biggy54 - 19.09.2014
Hello, I want to know how to make pick-ups that doesn't disappear after a long time and still can trigger OnPlayerPickUpPickUp
Re: Pick-ups [+REP] -
Biggy54 - 19.09.2014
Nevermind.
Re : Pick-ups [+REP] -
streetpeace - 19.09.2014
Код:
2
Disappears after pickup, respawns after 30 seconds if the player is at a distance of at least 15 meters.[/pawn]
Best solution, there isn't a solution for this problem :/.
https://sampwiki.blast.hk/wiki/PickupTypes
Re: Pick-ups [+REP] -
M0HAMMAD - 19.09.2014
Here You Go:
pawn Код:
new Pickup;
//OnGameModeInit
Pickup = CreatePickup(ObjectID,Type,X, Y, Z,Virtualworld);
//OnPlayerPickUpPickup
if(pickupid == Pickup)
{
//Code
return 1;
}