SA-MP Forums

SA-MP Forums (https://forum.sa-mp.com/index.php)
-   Filterscripts (https://forum.sa-mp.com/forumdisplay.php?f=17)
-   -   [FilterScript] Weapons on body (https://forum.sa-mp.com/showthread.php?t=618148)

GoldenLion 01/10/2016 08:33 PM

Weapons on body
 
Weapons on body system
by GoldenLion


I've seen many filterscripts released here that create objects of your weapons on your body when they are not in use, but they didn't have any options to adjust the positions or hide them. So I decided to create a filterscript like this where you can adjust the position and bone of your weapon or hide small weapons because I'm pretty sure many people want it.

There's only one command: /weapon [adjustpos/bone/hide]
Also don't forget to change MAX_PLAYERS in the filterscript.

Video

https://www.*******.com/watch?v=LT_xL014Tmg

Download

https://pastebin.com/XhhFS8NF (without saving)
https://pastebin.com/CGz4vWrT (with saving, requires MySQL R40+)

MySQL table for the saving version - https://pastebin.com/EAgP0wtA

Also someone asked for a dini version so here it is:
https://pastebin.com/rFdXzXxD (requires sscanf2 and a dini include, I suggest dini2 by Gammix which I've also included in the filterscript)
Don't forget to create a folder named Weapon Settings in your scriptfiles folder if you are going to use this.

Credits

SA-MP team for SA-MP
BlueG & Pain123 & maddinat0r for MySQL

iKevin 01/10/2016 08:40 PM

Re: Weapons on body
 
Dope boyy

Pedro1995 01/10/2016 09:01 PM

Re: Weapons on body
 
Nice but why

Code:

C:\Documents and Settings\ibra servis pc\Desktop\sgg\filescript\friendlist.pwn(1) : error 010: invalid function or declaration
C:\Documents and Settings\ibra servis pc\Desktop\sgg\filescript\friendlist.pwn(4) : error 010: invalid function or declaration
C:\Documents and Settings\ibra servis pc\Desktop\sgg\pawno\include\sscanf2.inc(227) : warning 202: number of arguments does not match definition
C:\Documents and Settings\ibra servis pc\Desktop\sgg\pawno\include\sscanf2.inc(240) : error 025: function heading differs from prototype
Pawn compiler 3.2.3664                          Copyright (c) 1997-2006, ITB CompuPhase


3 Errors.


GoldenLion 01/10/2016 09:21 PM

Re: Weapons on body
 
Quote:

Originally Posted by KevinExec (Post 3775100)
Dope boyy

Thanks. :)


Quote:

Originally Posted by Pedro1995 (Post 3775106)
Nice but why

Code:

C:\Documents and Settings\ibra servis pc\Desktop\sgg\filescript\friendlist.pwn(1) : error 010: invalid function or declaration
C:\Documents and Settings\ibra servis pc\Desktop\sgg\filescript\friendlist.pwn(4) : error 010: invalid function or declaration
C:\Documents and Settings\ibra servis pc\Desktop\sgg\pawno\include\sscanf2.inc(227) : warning 202: number of arguments does not match definition
C:\Documents and Settings\ibra servis pc\Desktop\sgg\pawno\include\sscanf2.inc(240) : error 025: function heading differs from prototype
Pawn compiler 3.2.3664                          Copyright (c) 1997-2006, ITB CompuPhase


3 Errors.


Eh, what is this?

OKStyle 02/10/2016 06:12 AM

Re: Weapons on body
 
http://forum.sa-mp.com/showthread.php?t=205666

Cookland 02/10/2016 07:40 AM

Re: Weapons on body
 
Not trying to be harsh or anything, but thousands of people have done this and there's waaaaaaay more better versions. As the dude above me stated already, Yezizhu's is somewhat the main one downloaded and used.

It's a good attempt and everything, but I'd rather stick to someones with more details. It's the little things that make it work.

GoldenLion 02/10/2016 09:51 AM

Re: Weapons on body
 
As I already said, none of these that were released here allow you to adjust the position or bone of the weapon or hide it. All they do is create an object on a certain position, that's why I decided to create something a little bit different for everyone.

Krakuski 02/10/2016 03:28 PM

Re: Weapons on body
 
Awesome! Exactly what I've been looking for. Are you able to make the weapons save to a file?

GoldenLion 02/10/2016 04:34 PM

Re: Weapons on body
 
Quote:

Originally Posted by Krakuski (Post 3775467)
Awesome! Exactly what I've been looking for. Are you able to make the weapons save to a file?

Thanks, I'll try to make it in the next update. :)

GoldenLion 04/10/2016 12:53 PM

Re: Weapons on body
 
Updated the filterscript, added another version of it which will save the weapon information.


All times are GMT. The time now is 03:03 PM.

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