SA-MP Forums Archive
Weapons - 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: Weapons (/showthread.php?tid=93209)



Weapons - DaivarD - 23.08.2009

Hi all! Can anybody help me? I want to add weapons that can be taken.
I tried to find how to do it, but even following the instruction does not work.


Re: Weapons - Khelif - 23.08.2009

if you mean AddStaticPickup, then..

pawn Код:
OnGameModeInit() {
  AddStaticPickup(model,type,Float:X,Float:Y,Float:Z)
  return 1;
}




Re: Weapons - LuxurioN™ - 23.08.2009

Create a command, for when the player approaches the other, he takes the gun. Use:

Код:
AddStaticPickup
and

Код:
IsPlayerToPoint