SA-MP Forums

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

Reply
 
Thread Tools Display Modes
Old 20/10/2018, 06:32 AM   #821
Crayder
High-roller
 
Crayder's Avatar
 
Join Date: Sep 2013
Location: Flames of Hell
Posts: 3,825
Reputation: 607
Default Re: weapon-config.inc - Damage system with many features

Quote:
Originally Posted by DeLTi View Post
When the player uses other styles of HUD (GTAV HUD), the health bar will be an obstacle. How to solve it?
Don't use said custom HUD, or create an entirely new HUD in this include for said custom HUD. There's no other way because we can't determine what custom HUD's look like.
__________________
Those who deserve reputation, do not need to beg for it.
Also, don't expect the help you need when offering reputation, you'll just be attracting Rep Hunters.
Join SA-MP Discord!
Crayder is offline   Reply With Quote
Old 24/10/2018, 02:08 AM   #822
AmirSavand
Big Clucker
 
AmirSavand's Avatar
 
Join Date: Sep 2018
Location: Behind Schedule
Posts: 78
Reputation: 8
Default Re: weapon-config.inc - Damage system with many features

Quote:
Originally Posted by DeLTi View Post
When the player uses other styles of HUD (GTAV HUD), the health bar will be an obstacle. How to solve it?
You can update the code and remove the health bar textdraw.
__________________

GitHub - Website - Contact

C# - Python - PHP - Angular
Unity 3D - Django - Electron

AmirSavand is offline   Reply With Quote
Old 24/10/2018, 11:13 PM   #823
Crayder
High-roller
 
Crayder's Avatar
 
Join Date: Sep 2013
Location: Flames of Hell
Posts: 3,825
Reputation: 607
Default Re: weapon-config.inc - Damage system with many features

Quote:
Originally Posted by AmirSavand View Post
You can update the code and remove the health bar textdraw.
No sir, removing the textdraw isn't going to resolve anything, it's going to cause confusion.
__________________
Those who deserve reputation, do not need to beg for it.
Also, don't expect the help you need when offering reputation, you'll just be attracting Rep Hunters.
Join SA-MP Discord!
Crayder is offline   Reply With Quote
Old 06/12/2018, 10:33 PM   #824
BrainDamaged
Big Clucker
 
BrainDamaged's Avatar
 
Join Date: Jun 2016
Posts: 120
Reputation: 1
Default Re: weapon-config.inc - Damage system with many features

Quote:
weapon-config.inc(3119) : warning 219: local variable "err" shadows a variable at a preceding level
weapon-config.inc(3366) : warning 219: local variable "err" shadows a variable at a preceding level

Code:
#include <a_samp>
#include <a_mysql>
#include <callbacks>
#include <cuffs>
#include <zcmd>
#include <sscanf2>
#include <streamer>
#include <kickban>
#include <foreach>
#include <YSI\y_iterate>
#include <mSelection>
#include <mapfix>
#include <OPSP>
#include <AutoMove>
#include <WeaponData>
#include <SKY>
#include <weapon-config>
#include <progress2>
#include <ipcheck>
I don't understand why you're giving such a warning
BrainDamaged is offline   Reply With Quote
Old 06/12/2018, 10:44 PM   #825
Jeroen52
Gangsta
 
Jeroen52's Avatar
 
Join Date: Oct 2008
Location: The Netherlands
Posts: 867
Reputation: 71
Default Re: weapon-config.inc - Damage system with many features

Quote:
Originally Posted by BrainDamaged View Post
Code:
#include <a_samp>
#include <a_mysql>
#include <callbacks>
#include <cuffs>
#include <zcmd>
#include <sscanf2>
#include <streamer>
#include <kickban>
#include <foreach>
#include <YSI\y_iterate>
#include <mSelection>
#include <mapfix>
#include <OPSP>
#include <AutoMove>
#include <WeaponData>
#include <SKY>
#include <weapon-config>
#include <progress2>
#include <ipcheck>
I don't understand why you're giving such a warning
Because you already have "err" defined somewhere else in the code.
__________________
Jeroen52 is offline   Reply With Quote
Old 07/12/2018, 09:26 AM   #826
[HLF]Southclaw
High-roller
 
[HLF]Southclaw's Avatar
 
Join Date: Apr 2009
Location: England
Posts: 4,988
Reputation: 1558
Default Re: weapon-config.inc - Damage system with many features

Package Southclaws/progress2 depends on package Southclaws/samp-logger which declares an error function named `err`. If you run `sampctl package ensure --verbose` it will print out the dependency tree so you can see all leaf dependencies.
__________________
Tools:

Plugins:

Links:

[HLF]Southclaw is offline   Reply With Quote
Old 12/12/2018, 02:40 AM   #827
BrainDamaged
Big Clucker
 
BrainDamaged's Avatar
 
Join Date: Jun 2016
Posts: 120
Reputation: 1
Default Re: weapon-config.inc - Damage system with many features

Quote:
Originally Posted by [HLF]Southclaw View Post
Package Southclaws/progress2 depends on package Southclaws/samp-logger which declares an error function named `err`. If you run `sampctl package ensure --verbose` it will print out the dependency tree so you can see all leaf dependencies.
When using the plug-in, it encounters a number of problems;
1. If the player remains under the vehicle,
2. if it is breathless under water,
3. If the player starts to burn,
does not lose health
BrainDamaged 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
Help with weapon damage system thanks JessThompson Scripting Help 7 15/07/2014 02:01 PM
[FilterScript] New Weapon Damage System [0.3z] RenSoprano Filterscripts 6 17/01/2014 07:03 AM
[FilterScript] Weapon damage system [v1.0] Darnell Filterscripts 74 21/10/2013 09:53 PM
[FilterScript] Weapon Damage System Donicans Filterscripts 14 06/11/2012 02:22 PM
[FilterScript] Realistic Weapon Damage And Death System [V1.0][New Cool FS] Nirzor Filterscripts 6 08/08/2012 06:34 AM


All times are GMT. The time now is 02:01 PM.


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