[FilterScript] [FS] DropGun - 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: Filterscripts (
https://sampforum.blast.hk/forumdisplay.php?fid=17)
+--- Thread: [FilterScript] [FS] DropGun (
/showthread.php?tid=151633)
DropGun v1.3 - With saving! [UPDATED: 22.06.2011] -
gimini - 31.05.2010
DropGun Filterscript
With this FS you can:
- Throw away any weapon that is in your hands
- Pick up thrown weapon
Commands:
/dgun or /dropgun - Throw away the weapon that is in your hands
/pgun or /pickupgun - Pick up the thrown weapon
Screenshots:
http://i56.tinypic.com/sqlbo9.png
http://i47.tinypic.com/2ik752f.jpg
http://i46.tinypic.com/22gwvb.jpg
http://i50.tinypic.com/v83hxi.jpg
Download:
[FS]DropGun v1.3
[FS]DropGun v1.3 + After death dropping (all player weapons)
Quote:
Originally Posted by gimini
Updated to 1.3:
- More accurate code
- Dropped guns saving/loading from the file /scriptfiles/DroppedGuns.ini after loading/unloading FS
Enjoy 
|
Re: [FS] DropGun -
Iuri - 31.05.2010
Heh, very nice. Counter-Strike like, huh?
Re: [FS] DropGun -
Montis123 - 31.05.2010
not bad script
Re: [FS] DropGun -
Chrisspartan - 31.05.2010
Nice 1!
Re: [FS] DropGun -
ben4uka - 31.05.2010
nice script, good job. i'll use it in my counter-strike

an-andreas server.
thanks
Re: [FS] DropGun -
Holnista - 31.05.2010
Stolen form polish server
Re: [FS] DropGun -
GunFight - 31.05.2010
nice work
Re: [FS] DropGun -
lumpri77 - 31.05.2010
weapons used to see sometimes not
sry for my bad english
Re: [FS] DropGun -
gimini - 31.05.2010
Quote:
Originally Posted by Holnista
Stolen form polish server 
|
It's not true.. I have made this script on my idea, I have not seen script like this anywhere.
Re: [FS] DropGun -
David-Sean - 31.05.2010
not bad..
Re: [FS] DropGun -
emzspiere - 31.05.2010
Great Job! Useful!
Re: [FS] DropGun -
RatHack - 31.05.2010
Nice job man.
Re: [FS] DropGun -
-Warg- - 31.05.2010
So usefully
Re: [FS] DropGun -
Toni - 31.05.2010
Very cool, to make it more realistic, if you can make it so it has the same amount of ammo when the first person that dropped it
Re: [FS] DropGun -
DaKill - 31.05.2010
Good job! Thanks.
@edit
Код:
stock CreateWeapon(WeaponID, Float:X, Float:Y, Float:Z)
{
new f = maxobj+1;
for(new a = 0; a < sizeof(ObjCoords); a++)
{
if(ObjCoords[a][0] == 0.0) f = a;
}
if(f == maxobj+1) // limit
{
return 1;
}
else
{
ObjectID[f][0] = WeaponID;
ObjectID[f][1] = 99999; // im using full ammo
ObjCoords[f][0] = X;
ObjCoords[f][1] = Y;
ObjCoords[f][2] = Z;
object[f] = CreateObject(WeaponObjects[gunID][0],ObjCoords[f][0],ObjCoords[f][1],ObjCoords[f][2]-1,93.7,120.0,120.0);
}
return 1;
}
Re: [FS] DropGun -
[NYRP]Mike. - 31.05.2010
Good job pal... This is like mine but mine save after restarting.
Re: [FS] DropGun -
gimini - 14.06.2010
Who has any ideas for improvement?
Re: [FS] DropGun -
Pawno_Scripter - 14.06.2010
Awesome.. i'd like it
Re: [FS] DropGun -
mr.shark - 15.06.2010
I have an idea.
when the server is restarted the dropped guns gets saved automatically
Re: [FS] DropGun -
Pawno_Scripter - 15.06.2010
Quote:
Originally Posted by mr.shark
I have an idea.
when the server is restarted the dropped guns gets saved automatically
|
Is your idea or is in the FS?