[FilterScript] [FS/INC] WeaponDrop - 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/INC] WeaponDrop (
/showthread.php?tid=252128)
Re: [FS/INC] WeaponDrop -
exclide1 - 28.06.2013
Quote:
Originally Posted by Jeffry
Sure!
I hope this works well.
Let me know in case you have any questions.
|
Thanks, nice idea with droping specified amount of ammo. I can't compile it, though, as it gives me:
Code:
E:\files\001samp\filterscripts\weapondrop.pwn(59) : error 017: undefined symbol "GetWeaponSlot"
E:\files\001samp\filterscripts\weapondrop.pwn(73) : error 032: array index out of bounds (variable "WeaponData")
E:\files\001samp\filterscripts\weapondrop.pwn(93) : error 017: undefined symbol "PickupPos"
E:\files\001samp\filterscripts\weapondrop.pwn(93) : warning 215: expression has no effect
E:\files\001samp\filterscripts\weapondrop.pwn(93) : error 001: expected token: ";", but found "]"
E:\files\001samp\filterscripts\weapondrop.pwn(93) : error 029: invalid expression, assumed zero
E:\files\001samp\filterscripts\weapondrop.pwn(93) : fatal error 107: too many error messages on one line
Anyways, I'm sure I can get something out of that code!
Re: [FS/INC] WeaponDrop -
StayAlive - 28.06.2013
Awesome, good job bro keep it up.
Re: [FS/INC] WeaponDrop -
Jeffry - 28.06.2013
Quote:
Originally Posted by exclide1
Thanks, nice idea with droping specified amount of ammo. I can't compile it, though, as it gives me:
|
Could you put the whole FS to
www.pastebin.com ? Then I will take a look at it. Probably just a little mistake.
Re: [FS/INC] WeaponDrop -
exclide1 - 28.06.2013
Quote:
Originally Posted by Jeffry
Could you put the whole FS to www.pastebin.com ? Then I will take a look at it. Probably just a little mistake.
|
I actually added it in your FS under OnPlayerCommandText.
Re: [FS/INC] WeaponDrop -
ScRipTeRi - 28.06.2013
nice like this 10/10
Re: [FS/INC] WeaponDrop (Drop your weapons when you die!) -
Jeffry - 30.06.2013
Version 1.1 has been released!
Whats new in v1.1?- Added command: /dropweapon [opt:ammo]
- Added OnWeaponDropExit();
Download the latest version at the first post from now on!
Have fun!
@exclide1: This is the official release, tested and compiled by me. If you still have any problems, feel free to let me know.
Re: [FS/INC] WeaponDrop (Drop your weapons when you die!) -
exclide1 - 01.07.2013
Quote:
Originally Posted by Jeffry
Version 1.1 has been released!
Whats new in v1.1?- Added command: /dropweapon [opt:ammo]
- Added OnWeaponDropExit();
Download the latest version at the first post from now on!
Have fun!
@exclide1: This is the official release, tested and compiled by me. If you still have any problems, feel free to let me know.
|
Good work, mate! It works perfectly, thank you. Too bad I can't rep you, it says I have to rep someone else first, even though I did! lol