SA-MP Forums Archive
[Help]Pickup 3D - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: [Help]Pickup 3D (/showthread.php?tid=165924)



[Help]Pickup 3D - crazyjoan - 06.08.2010

boys as I make to add the pickup 3D in GM SAGC?



Sorry for my bad english. i'm Italian


Re: [Help]Pickup 3D - Jeffry - 06.08.2010

Use: CreatePickup


Re: [Help]Pickup 3D - crazyjoan - 06.08.2010

created I insert pickup it on addstaticpickup?


Re: [Help]Pickup 3D - Hiddos - 06.08.2010

I'd say use CreatePickup, you can always alter it at any time without problems. If you're like adding new houses in-game, it'd be impossible to use AddStaticPickup.


Re: [Help]Pickup 3D - crazyjoan - 06.08.2010

sorry I'm not a scripter and I do not know where to put pickups created please can you tell me how do I use I saysomething wrong? tell me what's wrong?

START GM
New nomepickup / / Police

public OnGameModeInit ()
(
Police CreatePickup = (1272,23,8806, -1675.5166,16.1953,0);

public OnPlayerPickUpPickup(playerid, pickupid)
{
if(1272 == Police)
{
SetPlayerPos(playerid,8806,-1675.5166,16.1953);//


Re: [Help]Pickup 3D - Loppa - 08.08.2010

Replace this "if(1272 == Police)" with this "if(pickupid == Police)".