Pickups - 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: Pickups (
/showthread.php?tid=444632)
Pickups -
michaeli - 17.06.2013
When i try to create a weapon pickup (Sniper Rifle at Area 51 HQ) It never works.
Could anyone write a script for me where it adds a pickup preferably at these Co-ords
211.8740,1810.2850,21.8672,356.3491
Re: Pickups -
Jeffry - 17.06.2013
AddStaticPickup(358, 2, 211.8740, 1810.2850, 21.8672, 0);
^Creates a Sniper Rifle at the stated coordinates, which can be picked up, and it respawns after some time. The pickup is created in Virtual World 0.
Place it under OnGameModeInit/OnFilterScriptInit (or at some other place, if you need it there).
Re: Pickups -
michaeli - 17.06.2013
Thank you Jeffry!
Im currently remaking the Reborn Dudes Clan's Gamemode script, so far so good!
Re: Pickups -
Jeffry - 17.06.2013
Cheers. Glad I could help.
Good luck!