SA-MP 0.3 DL AND 0.3.8 weapon-config include problem
#1

SA-MP 0.3 DL AND 0.3.8 weapon-config include working but health is not down and i write /sethp 0 50 but health is not change
note: im turkish, my english is very bad guys so sorry.
Reply
#2

You should be aware that the plugin was never updated for 0.3.7 DL. That means that it is not recommended using a none updated plugins, which can cause further problems like stability issues or crashes and bugs.
Reply
#3

Quote:
Originally Posted by Cypress
Посмотреть сообщение
You should be aware that the plugin was never updated for 0.3.7 DL. That means that it is not recommended using a none updated plugins, which can cause further problems like stability issues or crashes and bugs.
Isn't weapon-config an Include and no Plugin?

From what I know weapon-config doesn't use any functions that were changed/altered in 0.3.7DL or 0.3.8, so it should actually still work as-is.

@OP: Do you use SetPlayerHealth (your command) inside the script where weapon-config is included? Just making sure since that function is hooked by the include.
Reply
#4

Quote:
Originally Posted by NaS
Посмотреть сообщение
Isn't weapon-config an Include and no Plugin?

From what I know weapon-config doesn't use any functions that were changed/altered in 0.3.7DL or 0.3.8, so it should actually still work as-is.

@OP: Do you use SetPlayerHealth (your command) inside the script where weapon-config is included? Just making sure since that function is hooked by the include.
Dude SKY plugin changed.
Reply
#5

Quote:
Originally Posted by Max_Andolini
Посмотреть сообщение
Dude SKY plugin changed.
Yea, sorry for not declaring about the SKY plugin. The weapon config requires the use of the SKY plugin. It might be working on 0.3.7 DL. Tho on 0.3.8 it required an update of the memory addresses and might still need the same for 0.3.7 DL if not done already.
Reply
#6

To fix the textdraws use this patch.

PHP код:
From 238057774c34dbe652e3ba2fcc9a21aaaf06e374 Mon Sep 17 00:00:00 2001
From
Jeroen de Neef <jeroen52@gmail.com>
DateMon26 Feb 2018 01:30:16 +0100
Subject
: [PATCHThis is a nasty fix for the health bar not updating in
 0.3
-DL.
---
 
weapon-config.inc ++
 
1 file changed2 insertions(+)
diff --git a/weapon-config.inc b/weapon-config.inc
index 76e914c
..ddc1269 100644
--- a/weapon-config.inc
+++ b/weapon-config.inc
@@ -4026,+4026,@@ static UpdateHealthBar(playeridbool:force false)
         
SetPlayerHealth(playerid8000000.0 float(health));
 
         if (
s_HealthBarVisible[playerid] && !s_IsDying[playerid]) {
+            
PlayerTextDrawDestroy(playerids_HealthBarForeground[playerid]);
+            
s_HealthBarForeground[playerid] = PlayerText:INVALID_TEXT_DRAW;
             if (
s_HealthBarForeground[playerid] == PlayerText:INVALID_TEXT_DRAW) {
                 
s_HealthBarForeground[playerid] = CreatePlayerTextDraw(
                     
playerid,
-- 
2.16.2.windows.1 
Reply
#7

Why doesn't someone just fork the repo and start updating it lol.
Reply
#8

Quote:
Originally Posted by Kar
Посмотреть сообщение
Why doesn't someone just fork the repo and start updating it lol.
Because I'm shit at maintaining [strike]someone else's[/strike] code.
Reply
#9

Weapon Config my forked version 0.3.DL https://github.com/MaxAndolini/samp-weapon-config
SKY Plugin 0.3.DL version http://forum.sa-mp.com/showpost.php?...&postcount=137
Reply
#10

Quote:
Originally Posted by Max_Andolini
Посмотреть сообщение
Thanks dude. @Max_Andolini (Reyiz seni hala samp platformunda gцrmek beni cidden mutlu ediyor, bьyьk işlere imza atmaya devam ediyorsun. Esen kal adamsın.)
Reply
#11

Quote:
Originally Posted by Max_Andolini
Посмотреть сообщение
Dude SKY plugin changed.
link is broken (link kırık reyiz)
Reply
#12

up guys, help me please tested all solves but not working
Reply
#13

Quote:
Originally Posted by waysemir
Посмотреть сообщение
link is broken (link kırık reyiz)
http://forum.sa-mp.com/showpost.php?...&postcount=137
Reply
#14

sky include is a 0.3 dl version? or not?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)