pickup parachute ? - 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: pickup parachute ? (
/showthread.php?tid=340117)
pickup parachute ? -
TheDiscussionCafe - 06.05.2012
how i make so there is a parachute pickup? parachute pickup id is: 1310 . i want to pickup to be here: 315.8856,974.9424,1961.2294
and the interior i want it to be in is: 9
please help? thanks!!
Re: pickup parachute ? -
ReneG - 06.05.2012
Look at the
CreatePickup page, and the
streamer page.
You need the streamer to only place the pickup in interior 9.
pawn Код:
CreateDynamicPickup(1310, 1, 315.8856, 974.9424, 1961.2294, -1, 9, -1, 100.0);
Re: pickup parachute ? -
TheDiscussionCafe - 06.05.2012
pickup for some reason no show up? why?
Re: pickup parachute ? -
newbienoob - 06.05.2012
pawn Код:
CreateDynamicPickup(1310, 2, 315.8856, 974.9424, 1961.2294, 9, 9, -1, 100.0);
Re: pickup parachute ? -
TheDiscussionCafe - 06.05.2012
Quote:
Originally Posted by newbienoob
pawn Код:
CreateDynamicPickup(1310, 2, 315.8856, 974.9424, 1961.2294, 9, 9, -1, 100.0);
|
nothing happen and nothing show up
Re: pickup parachute ? -
Ballu Miaa - 06.05.2012
Here's an example of the usage. Try this one.
pawn Код:
new money;
public OnGameModeInit()
{
money = CreatePickup(1274, 2, 0.0, 0.0, 9.0); // Change the coordinates where you want this pickup to be.
return 1;
}
public OnPlayerPickUpPickup(playerid, pickupid)
{
if(pickupid == money) GivePlayerMoney(playerid,10000);
return 1;
}
Re: pickup parachute ? -
niels44 - 06.05.2012
You said it doesnt shows up, but you also said it had to be in interior 9 so make sure you are in interior 9 yourself too, else if you arent in interior 9 then it wont show up
Re: pickup parachute ? -
TheDiscussionCafe - 06.05.2012
i fixed it. i put -1 for world instead of 9 . i know interior is 9 but it wont work like that so i put -1. thx gys!