SA-MP Forums

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

Reply
 
Thread Tools Display Modes
Old 15/05/2018, 06:23 PM   #801
Jeroen52
Gangsta
 
Jeroen52's Avatar
 
Join Date: Oct 2008
Location: The Netherlands
Posts: 869
Reputation: 73
Default Re: weapon-config.inc - Damage system with many features

Quote:
Originally Posted by MustangV10 View Post
What would be the best way to create spawn protection for a player with this include? My previous SetPlayerHealth approach is void with this include enabled.
Just have a variable or a timer and on OnPlayerDamage do something like this.

Code:
if(SpawnProtection[playerid] >= 1) return 0;
__________________
Jeroen52 is offline   Reply With Quote
Old 16/05/2018, 04:01 AM   #802
Dice_
Huge Clucker
 
Dice_'s Avatar
 
Join Date: Sep 2015
Location: Indonesia
Posts: 458
Reputation: 56
Default Re: weapon-config.inc - Damage system with many features

How do I modify health bar color with this include?
Dice_ is offline   Reply With Quote
Old 17/05/2018, 08:27 PM   #803
PurmeX
Little Clucker
 
Join Date: Apr 2018
Posts: 13
Reputation: 0
Default Re: weapon-config.inc - Damage system with many features

(6060) : warning 201: redefinition of constant/macro (symbol "AddStaticVehicle")
(6079) : warning 201: redefinition of constant/macro (symbol "AddStaticVehicleEx")
(6097) : warning 201: redefinition of constant/macro (symbol "CreateVehicle")
(6207) : warning 201: redefinition of constant/macro (symbol "DestroyVehicle")
(6457) : error 025: function heading differs from prototype
(645 : error 021: symbol already defined: "IsPlayerSpawned"
(27123) : error 021: symbol already defined: "OnPlayerTakeDamage"
(30072) : error 021: symbol already defined: "OnPlayerGiveDamage"

Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


4 Errors.


Help
PurmeX is offline   Reply With Quote
Old 17/05/2018, 08:51 PM   #804
Jeroen52
Gangsta
 
Jeroen52's Avatar
 
Join Date: Oct 2008
Location: The Netherlands
Posts: 869
Reputation: 73
Default Re: weapon-config.inc - Damage system with many features

Quote:
Originally Posted by PurmeX View Post
(6060) : warning 201: redefinition of constant/macro (symbol "AddStaticVehicle")
(6079) : warning 201: redefinition of constant/macro (symbol "AddStaticVehicleEx")
(6097) : warning 201: redefinition of constant/macro (symbol "CreateVehicle")
(6207) : warning 201: redefinition of constant/macro (symbol "DestroyVehicle")
(6457) : error 025: function heading differs from prototype
(645 : error 021: symbol already defined: "IsPlayerSpawned"
(27123) : error 021: symbol already defined: "OnPlayerTakeDamage"
(30072) : error 021: symbol already defined: "OnPlayerGiveDamage"

Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


4 Errors.


Help
What is your include priority?
__________________
Jeroen52 is offline   Reply With Quote
Old 17/05/2018, 09:42 PM   #805
Jeroen52
Gangsta
 
Jeroen52's Avatar
 
Join Date: Oct 2008
Location: The Netherlands
Posts: 869
Reputation: 73
Default Re: weapon-config.inc - Damage system with many features

Quote:
Originally Posted by PurmeX View Post
#include <a_samp>
#include <mysql>
#include <Pawn.CMD>
#include <sscanf2>
#include <streamer>
#include <foreach>
#include <regex>
#include <a_http>
#include <progress>
#include <mSelection>
#include <ColAndreas>
#include <whirlpool>


I have only this
Where is weapon-config on that list?
__________________
Jeroen52 is offline   Reply With Quote
Old 17/05/2018, 09:59 PM   #806
Kaperstone
Banned
 
Join Date: May 2011
Location: Russia
Posts: 3,028
Reputation: 824
Default Re: weapon-config.inc - Damage system with many features

Quote:
Originally Posted by f0Re3t View Post
since many users want a return, then I will return it!
at the moment, a fork is created, but the new version will be filled in later
the update will be available here - https://github.com/f0Re3t/samp-weapon-config
Will you be updating your fork?
Kaperstone is offline   Reply With Quote
Old 18/05/2018, 03:57 AM   #807
f0Re3t
Little Clucker
 
Join Date: Aug 2015
Posts: 35
Reputation: 3
Default Re: weapon-config.inc - Damage system with many features

Quote:
Originally Posted by Kaperstone View Post
Will you be updating your fork?
at the moment I'm working on my own damage system, to fix an uncountable number of bugs of this includ is very expensive
f0Re3t is offline   Reply With Quote
Old 18/05/2018, 05:55 AM   #808
PurmeX
Little Clucker
 
Join Date: Apr 2018
Posts: 13
Reputation: 0
Default Re: weapon-config.inc - Damage system with many features

Quote:
Originally Posted by PurmeX View Post
#include <a_samp>
#include <mysql>
#include <Pawn.CMD>
#include <sscanf2>
#include <streamer>
#include <foreach>
#include <regex>
#include <a_http>
#include <progress>
#include <mSelection>
#include <ColAndreas>
#include <whirlpool>
#include <weapon-config.inc>


I have only this
I forgot to write sorry, but in GM there is #include <weapon-config.inc>
PurmeX is offline   Reply With Quote
Old 26/05/2018, 01:50 PM   #809
f0Re3t
Little Clucker
 
Join Date: Aug 2015
Posts: 35
Reputation: 3
Default Re: weapon-config.inc - Damage system with many features

Hello, friends.
as promised - I tried to create your own system of damage, but at the moment I need help in testing and profiling the system, if you want to help, you can visit my test server-185.224.134.57: 7777 (is collecting statistics on the system load on resources)
f0Re3t is offline   Reply With Quote
Old 26/05/2018, 02:02 PM   #810
CodeStyle175
Banned
 
Join Date: Apr 2014
Posts: 461
Reputation: 35
Default Re: weapon-config.inc - Damage system with many features

Yea listen to ******, he knows what he is talking about.
CodeStyle175 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 01:01 PM
[FilterScript] New Weapon Damage System [0.3z] RenSoprano Filterscripts 6 17/01/2014 06:03 AM
[FilterScript] Weapon damage system [v1.0] Darnell Filterscripts 74 21/10/2013 08:53 PM
[FilterScript] Weapon Damage System Donicans Filterscripts 14 06/11/2012 01:22 PM
[FilterScript] Realistic Weapon Damage And Death System [V1.0][New Cool FS] Nirzor Filterscripts 6 08/08/2012 05:34 AM


All times are GMT. The time now is 05:06 PM.


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