[FilterScript] [FS] DropGun
#1

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
Reply
#2

Heh, very nice. Counter-Strike like, huh?
Reply
#3

not bad script
Reply
#4

Nice 1!
Reply
#5

nice script, good job. i'll use it in my counter-strikean-andreas server.

thanks
Reply
#6

Stolen form polish server
Reply
#7

nice work
Reply
#8

weapons used to see sometimes not

sry for my bad english
Reply
#9

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.
Reply
#10

not bad..
Reply
#11

Great Job! Useful!
Reply
#12

Nice job man.
Reply
#13

So usefully
Reply
#14

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
Reply
#15

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;
}
Reply
#16

Good job pal... This is like mine but mine save after restarting.
Reply
#17

Who has any ideas for improvement?
Reply
#18

Awesome.. i'd like it
Reply
#19

I have an idea.

when the server is restarted the dropped guns gets saved automatically
Reply
#20

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?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)