SA-MP Forums Archive
[FilterScript] [FS] /sendweapon - 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] /sendweapon (/showthread.php?tid=202187)



[FS] /sendweapon - Jeffry - 23.12.2010

[FS] /sendweapon

Hello guys,
this is my third release. I've seen people asking for such a FS quite a few times, so here it is. It is a simple /sendweapon command, which allows you to send a weapon to another player. The other player has after receiving the weapon a by you defined time, to deny the weapon and get his old weapons back. I've created this in April, but I had never any time to release it, until now. ^^
Some detailed information now:

What is this Filterscript? Definitions:

#define WEAPON_TAX_BILL 10000#define MAX_REFUSE_TIME 30#define WAIT_TIME 30new ForbiddenWeapons[]= { 44, 45, 38 }; Installation: Any pictures?
I don't think that any pictures are needed. But if you wish to have some, I can create some.

Any bugs?
None so far. If you find one, please report it here, so I can fix it.

Credits:Download Links:

(Solidfiles [PWN & AMX])



Readme!


Feel free to modify the Filterscript in any way you want. Of course I'd be happy if you give me /credits.
If you have any questions or ideas or bugs feel free to post them here.
Now enjoy the FS, and please leave your comments & opinions!!



Greetings,
Jeffry


Re: [FS] /sendweapon - Noss* - 23.12.2010

Ooh : D Great job! Testing it now (:


Re: [FS] /sendweapon - Zigulys400 - 23.12.2010

Very Nice! I like /weaponsback


Re: [FS] /sendweapon - MestreKiller - 23.12.2010

simple and nice, but who wants this soz jeff


Re: [FS] /sendweapon - Jeffry - 24.12.2010

Quote:
Originally Posted by Noss*
Посмотреть сообщение
Ooh : D Great job! Testing it now (:
Thanks. Have fun.

Quote:
Originally Posted by Zigulys400
Посмотреть сообщение
Very Nice! I like /weaponsback
Yeah, its is good if you don't want the weapon.

Quote:
Originally Posted by MestreKiller
Посмотреть сообщение
simple and nice, but who wants this soz jeff
Hehe, I remember that I've seen once a guy asking for this.


Re: [FS] /sendweapon - Zh3r0 - 24.12.2010

Unique idea. Good job!


Re: [FS] /sendweapon - Raz0r1000 - 24.12.2010

Simple, and this is the first time that I have seen anything like this


Re: [FS] /sendweapon - Jeffry - 25.12.2010

Quote:
Originally Posted by Zh3r0
Посмотреть сообщение
Unique idea. Good job!
Quote:
Originally Posted by Raz0r1000
Посмотреть сообщение
Simple, and this is the first time that I have seen anything like this
Thanks.

Quote:
Originally Posted by Las Venturas CNR
Посмотреть сообщение
/sendweapon [PlayerID] [Ammo]

Hm, shouldn't it be something like

/sendweapon [PlayerID] [Weapon Name] [Ammo]

or

/sendweapon [Player ID] [Weapon Name]
No, its much easier. The weapon you hold will be sent away with the ammo you've entered. So you don't need to know the weapon ID. ^^