SA-MP Forums Archive
Can I add weapons to random locations on map? - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP (https://sampforum.blast.hk/forumdisplay.php?fid=3)
+--- Forum: General (https://sampforum.blast.hk/forumdisplay.php?fid=13)
+--- Thread: Can I add weapons to random locations on map? (/showthread.php?tid=587823)



Can I add weapons to random locations on map? - Eatos - 02.09.2015

Is is possible to add weapons to random locations on the map like in the single-player game?
I want other players to be able to pick the up and use them in the game.

Thanks!




Re: Can I add weapons to random locations on map? - Abagail - 02.09.2015

Use CreatePickup. You'll need to gather the coordinates on your own though. This should also be in Scripting Help.

Quote:
Originally Posted by "Weapon Pickup ID's
321 - Regular Dildo
322 - White Dildo
323 - Vibrator
324 - Another Vibrator
325 - Flowers
326 - Cane
330 - CJ's Phone
331 - Brass Knuckles
333 - Golf Club
334 - Police Trungeon/Night Stick (Depending on where you're from)
335 - Combat Knife
336 - Baseball Bat
337 - Shovel
338 - Pool Cue
339 - Katana
341 - Chainsaw
342 - Frag Grenade
343 - Tear Gas Grenade
344 - Molotov Cocktail
346 - Colt 45 Pistol
347 - Silenced Colt 45 Pistol
348 - Desert Eagle
349 - Regular Shotgun
350 - Sawn-Off Shotgun
351 - SPAZ-12 Shotgun
352 - Mac-10 (Or Micro-UZI)
353 - MP5
354 - Hydra Flare
355 - AK47 Assault Rifle
356 - M4 Assault Rifle
357 - Country Rifle
358 - Sniper Rifle
359 - Rocket Launcher
360 - Heat Seeking Rocket Launcher
361 - Flamethrower
362 - Minigun
363 - Satchel Charges
364 - Detonator <---- Seemingly Useless.
365 - Spray Paint Can
366 - Fire Extinguisher
367 - Camera
368 - Night Vision Goggles
369 - Infra-Red Goggles
370 - Jetpack
371 - Parachute
372 - Tec-9
wiki.sa-mp.com/wiki/CreatePickup


Re: Can I add weapons to random locations on map? - Eatos - 02.09.2015

Quote:
Originally Posted by Abagail
View Post
Use CreatePickup. You'll need to gather the coordinates on your own though. This should also be in Scripting Help.



wiki.sa-mp.com/wiki/CreatePickup
Thanks, I will have a look!