SA-MP Forums

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

Reply
 
Thread Tools Display Modes
Old 15/05/2018, 07:23 PM   #801
Jeroen52
Gangsta
 
Jeroen52's Avatar
 
Join Date: Oct 2008
Location: The Netherlands
Posts: 880
Reputation: 74
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, 05:01 AM   #802
Dice_
Huge Clucker
 
Dice_'s Avatar
 
Join Date: Sep 2015
Location: Indonesia
Posts: 450
Reputation: 57
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, 09:51 PM   #803
Jeroen52
Gangsta
 
Jeroen52's Avatar
 
Join Date: Oct 2008
Location: The Netherlands
Posts: 880
Reputation: 74
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, 10:42 PM   #804
Jeroen52
Gangsta
 
Jeroen52's Avatar
 
Join Date: Oct 2008
Location: The Netherlands
Posts: 880
Reputation: 74
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, 10:59 PM   #805
Kaperstone
Banned
 
Join Date: May 2011
Location: Russia
Posts: 3,012
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, 04:57 AM   #806
f0Re3t
Little Clucker
 
Join Date: Aug 2015
Posts: 42
Reputation: 7
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 26/05/2018, 02:50 PM   #807
f0Re3t
Little Clucker
 
Join Date: Aug 2015
Posts: 42
Reputation: 7
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, 03:02 PM   #808
CodeStyle175
Banned
 
Join Date: Apr 2014
Posts: 455
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
Old 05/06/2018, 08:56 AM   #809
MBilal
Gangsta
 
MBilal's Avatar
 
Join Date: May 2013
Posts: 811
Reputation: 57
Default Re: weapon-config.inc - Damage system with many features

How we can change the damage of Chainsaw ? Chainsaw killing people even chainsaw doesn't touch them some player move around enemy and enemy dies.
MBilal is offline   Reply With Quote
Old 09/06/2018, 04:29 PM   #810
DeadBrain
Little Clucker
 
Join Date: Apr 2018
Posts: 17
Reputation: 1
Default Re: weapon-config.inc - Damage system with many features

Include don't works
I included it etc but players immune from bullets damm myluck
DeadBrain 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 06:25 AM.


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