SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Filterscripts

Reply
 
Thread Tools Display Modes
Old 27/08/2010, 07:01 PM   #1
CyNiC
High-roller
 
Join Date: Jan 2009
Location: Brazil
Posts: 1,433
Reputation: 203
Post Insanity Weapons Drop

• Insanity Weapons Drop •

- Description


The filterscript that simulates the falling of weapons of GTA single.
When players die all your weapons are on the ground allowing anyone to catch them.

- Author

Allan Jader (CyNiC)

- Thanks

I thank those who made the function GetWeaponModel, i do not know who did this Useful function.

- Note

You can change how much you want the filterscript, leaving the credit to creator.
I know there are already some filterscripts such, but I want to make one more option for you.

- Functions
pawn Code:
LooseWeapons(playerid);//[drop player weapons]
ForbidWeaponDrop(weaponid);//[forbid the fall of a weapon by id](only available in script version 1.1)
FreeWeaponDrop(weaponid);//[free the fall of a weapon by id](only available in script version 1.1)

- Configurations

pawn Code:
#define MAX_WEAPONS_DROPPED 20 //max numbers of weapons who can be dropped
#define REMOVE_WEAPONS_DROPPED_TIMER 20000 //miliseconds

- Download (.pwn and .amx)

Version 1.0
Version 1.1

Search tags: droper cair armas chão loose leave weapons pickup on the floor dropped death

Last edited by CyNiC; 15/07/2011 at 05:04 PM.
CyNiC is offline   Reply With Quote
Old 27/08/2010, 07:04 PM   #2
nuriel8833
High-roller
 
nuriel8833's Avatar
 
Join Date: Jun 2009
Location: Israel
Posts: 1,172
Reputation: 16
Default Re: Insanity Weapons Drop

Cool =)))
__________________
Back to forums
Although I am not scripting much,only my gamemode on my free time

My works:
80.179.219.89:7778
»[Tutorial] Kills Table BonusLast.fm
nuriel8833 is offline   Reply With Quote
Old 27/08/2010, 07:13 PM   #3
CyNiC
High-roller
 
Join Date: Jan 2009
Location: Brazil
Posts: 1,433
Reputation: 203
Default Re: Insanity Weapons Drop

Quote:
Originally Posted by Micheliano View Post
PHP Code:
#define MAX_WEAPONS_DROPPED 20 //max numbers of weapons who can be dropped 
player only has 13 slots..?
This is the maximum amount of weapons dropped from all players at the same time.

Last edited by CyNiC; 31/08/2011 at 04:26 AM.
CyNiC is offline   Reply With Quote
Old 27/08/2010, 08:15 PM   #4
Ghost_Boss
Little Clucker
 
Join Date: Jan 2010
Posts: 19
Reputation: 0
Default Re: Insanity Weapons Drop

ahahahaha niceeee FS
Ghost_Boss is offline   Reply With Quote
Old 28/08/2010, 12:31 AM   #5
Chaprnks
Gangsta
 
Chaprnks's Avatar
 
Join Date: Sep 2007
Location: Soviet America
Posts: 762
Reputation: 64
Default Re: Insanity Weapons Drop

Quote:
Originally Posted by Micheliano View Post
... how can that be the maxinum and these are only 13 slots
i see u didnt this wrong then. it should drop any weapons the player has from his "slots"
Quote:
Originally Posted by cynic View Post
This is the maximum amount of weapons dropped from all players.
"This message is too short."
__________________
Chaprnks is offline   Reply With Quote
Old 28/08/2010, 10:02 AM   #6
Sweet_Mafia
Big Clucker
 
Sweet_Mafia's Avatar
 
Join Date: Aug 2010
Posts: 79
Reputation: 0
Default Re: Insanity Weapons Drop

thanks, this will be great for my roleplay server.
Sweet_Mafia is offline   Reply With Quote
Old 16/09/2010, 01:29 PM   #7
mincer
Little Clucker
 
Join Date: Aug 2010
Posts: 37
Reputation: 1
Default Re: Insanity Weapons Drop

thanks this will be great for mini-games
mincer is offline   Reply With Quote
Old 16/09/2010, 01:49 PM   #8
SunnyBoy
Big Clucker
 
SunnyBoy's Avatar
 
Join Date: Jul 2010
Location: Germany
Posts: 105
Reputation: 0
Default Re: Insanity Weapons Drop

good job
SunnyBoy is offline   Reply With Quote
Old 16/09/2010, 04:12 PM   #9
tackleza
Little Clucker
 
Join Date: Oct 2009
Posts: 16
Reputation: 0
Default Re: Insanity Weapons Drop

Thank You ^,^
tackleza is offline   Reply With Quote
Old 20/09/2010, 07:42 PM   #10
aco_SRBIJA
Big Clucker
 
Join Date: Apr 2010
Posts: 180
Reputation: 4
Default Re: Insanity Weapons Drop

good job, but one problem.

Why it don`t have tab to pick up weapon, like in GTA sp?
aco_SRBIJA is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Weapons drop on ground when dead shoru93 Help Archive 1 24/06/2010 09:30 PM
drop weapons when someone dies iStarzz Help Archive 0 04/06/2010 05:47 PM
Problem - Drop Weapons MrLeNy Help Archive 5 01/06/2010 09:06 PM
[SEARCH]Drop of Weapons [EnergY] Help Archive 2 28/02/2010 01:00 PM


All times are GMT. The time now is 08:58 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.