Raised This Month: $51 Target: $400
 12% 

Round start Health by STEAM ID


Post New Thread Reply   
 
Thread Tools Display Modes
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 04-19-2022 , 18:24   Re: Round start Health by STEAM ID
Reply With Quote #11

Why not store the players in nVault (or some other database/file)? You can add/remove them during game play.
__________________
Bugsy is offline
Supremache
Veteran Member
Join Date: Sep 2019
Location: Egypt
Old 04-19-2022 , 18:32   Re: Round start Health by STEAM ID
Reply With Quote #12

Quote:
Originally Posted by kirksite View Post
No joy.
complied sma file and uploaded to /cstrike/addons/amxmodx/plugins
saved notepad SteamHP.ini file to /cstrike/addons/amxmodx/configs ("STEAM_0:1:269172" "80")

Hp by steamid 1.0 Supremache PlayerHealth.am running

Currently loaded modules:
name version author status
Fun 1.9.0.5294 AMX Mod X Dev Team running
Engine 1.9.0.5294 AMX Mod X Dev Team running
FakeMeta 1.9.0.5294 AMX Mod X Dev Team running
CStrike 1.9.0.5294 AMX Mod X Dev Team running
CSX 1.9.0.5294 AMX Mod X Dev Team running
Ham Sandwich 1.9.0.5294 AMX Mod X Dev Team running
MySQL 1.9.0.5294 AMX Mod X Dev Team running
What is this ? What do u mean ?!
__________________
Youtube.com/Supremache

Bank System [Nvault - SQL Support]
VIP System
  • If you think it's that simple, then do it yourself.
Supremache is offline
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 04-19-2022 , 18:52   Re: Round start Health by STEAM ID
Reply With Quote #13

I think he's saying the plugin isn't working, and showing its actively running. And showing modules for some reason.
__________________
Bugsy is offline
Supremache
Veteran Member
Join Date: Sep 2019
Location: Egypt
Old 04-19-2022 , 19:15   Re: Round start Health by STEAM ID
Reply With Quote #14

Quote:
Originally Posted by Bugsy View Post
I think he's saying the plugin isn't working, and showing its actively running. And showing modules for some reason.
I tested it and it works fine
Edit: I thought he made a mistake creating the config file
__________________
Youtube.com/Supremache

Bank System [Nvault - SQL Support]
VIP System
  • If you think it's that simple, then do it yourself.

Last edited by Supremache; 04-19-2022 at 19:25.
Supremache is offline
kirksite
Member
Join Date: Feb 2021
Old 04-19-2022 , 19:33   Re: Round start Health by STEAM ID
Reply With Quote #15

I was confirming that I had the plugin running as well as the required modules.

The SteamHP.ini is in the proper format and in the right place in the directory?

I tested against my own STEAM ID yet I spawned with 100 HP and 100 HP for every round.

Could the issue be with my version of AMXmodx vs yours?
kirksite is offline
Supremache
Veteran Member
Join Date: Sep 2019
Location: Egypt
Old 04-19-2022 , 19:43   Re: Round start Health by STEAM ID
Reply With Quote #16

Quote:
Originally Posted by kirksite View Post
I was confirming that I had the plugin running as well as the required modules.

The SteamHP.ini is in the proper format and in the right place in the directory?

I tested against my own STEAM ID yet I spawned with 100 HP and 100 HP for every round.

Could the issue be with my version of AMXmodx vs yours?
No, be sure you have updated the code and put this file in the config folder.
Attached Files
File Type: ini SteamHp.ini (27 Bytes, 19 views)
__________________
Youtube.com/Supremache

Bank System [Nvault - SQL Support]
VIP System
  • If you think it's that simple, then do it yourself.
Supremache is offline
kirksite
Member
Join Date: Feb 2021
Old 04-19-2022 , 21:35   Re: Round start Health by STEAM ID
Reply With Quote #17

I'm stumped.

I deleted everything from previous attempts. Then copied the code and saved in cstrike/addons/scripting folder as PlayerHealth.sma, then complied and placed the PlayerHealth.amxx into the plugin folder, updated the plugins.ini. Put the SteamID.ini in the config folder with my STEAM ID included.

Restarted the map and tested with no luck, I did have other players on the server for the test.

I then paused all other plugin other than the standard amx and still no luck.
kirksite is offline
Supremache
Veteran Member
Join Date: Sep 2019
Location: Egypt
Old 04-19-2022 , 21:53   Re: Round start Health by STEAM ID
Reply With Quote #18

Quote:
Originally Posted by kirksite View Post
I'm stumped.

I deleted everything from previous attempts. Then copied the code and saved in cstrike/addons/scripting folder as PlayerHealth.sma, then complied and placed the PlayerHealth.amxx into the plugin folder, updated the plugins.ini. Put the SteamID.ini in the config folder with my STEAM ID included.

Restarted the map and tested with no luck, I did have other players on the server for the test.

I then paused all other plugin other than the standard amx and still no luck.
You don't need to add sma file in scripting folder or pause other plugins, it's a simple plugin, i created a file and i have uploaded it in the previous post so download the file and put it in the config folder and type your steam id in the file and test it, that's it
__________________
Youtube.com/Supremache

Bank System [Nvault - SQL Support]
VIP System
  • If you think it's that simple, then do it yourself.
Supremache is offline
kirksite
Member
Join Date: Feb 2021
Old 04-19-2022 , 22:03   Re: Round start Health by STEAM ID
Reply With Quote #19

are you saying all I need is the ini file and not the other code you shared ealier?
kirksite is offline
Supremache
Veteran Member
Join Date: Sep 2019
Location: Egypt
Old 04-19-2022 , 22:35   Re: Round start Health by STEAM ID
Reply With Quote #20

Quote:
Originally Posted by kirksite View Post
are you saying all I need is the ini file and not the other code you shared ealier?
Without the plugin nothing will happen also without the config file the plugin will not work because there is no data to read by the plugin.
__________________
Youtube.com/Supremache

Bank System [Nvault - SQL Support]
VIP System
  • If you think it's that simple, then do it yourself.
Supremache is offline
Reply



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

Forum Jump


All times are GMT -4. The time now is 17:09.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode