Raised This Month: $30 Target: $400
 7% 

Help / Support ZP 4.3 - Changes are not saving after editing "zombie_plague40.sma"


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Bavarian
Junior Member
Join Date: Aug 2021
Location: Kurdzhali, Bulgaria
Old 10-22-2021 , 10:34   ZP 4.3 - Changes are not saving after editing "zombie_plague40.sma"
Reply With Quote #1

Hello,

When I edit the zombie_plague40.sma file the changes won't apply when running the mod, that's it.
I tried to compile it (obviously) but nope - still won't apply.
I am using AMXX 1.8.2 for Windows.

Anything helps, thank you!!
Bavarian is offline
ZaX
Senior Member
Join Date: Jan 2015
Old 10-22-2021 , 11:59   Re: ZP 4.3 - Changes are not saving after editing "zombie_plague40.sma"
Reply With Quote #2

What changes are you making? show some code
ZaX is offline
Bavarian
Junior Member
Join Date: Aug 2021
Location: Kurdzhali, Bulgaria
Old 10-22-2021 , 12:05   Re: ZP 4.3 - Changes are not saving after editing "zombie_plague40.sma"
Reply With Quote #3

I just edited some numbers, you know - HP, Starter AP, AP reward per damage etc... I didn't touched anything, just changed some numbers that's all.

The script is soo long, I can make a download link I am unsure If I will be able to do so. I could show some pictures but I would have to screen shot 11541 lines of code

Last edited by Bavarian; 10-22-2021 at 15:17.
Bavarian is offline
CryWolf
Veteran Member
Join Date: Jul 2008
Location: Romania
Old 10-22-2021 , 12:16   Re: ZP 4.3 - Changes are not saving after editing "zombie_plague40.sma"
Reply With Quote #4

After compiling it, copy the zombie_plague40.amxx from compiled folder to /amxmodx/plugins folder and owerwrite, and then restart server or change map.
__________________
I dont walk trough this world with fear in my heart.
www.dark-arena.com L4D, CS1.6, CZ Servers
CryWolf is offline
Send a message via MSN to CryWolf Send a message via Yahoo to CryWolf
ZaX
Senior Member
Join Date: Jan 2015
Old 10-22-2021 , 15:01   Re: ZP 4.3 - Changes are not saving after editing "zombie_plague40.sma"
Reply With Quote #5

Edit the cvars in zombieplague.cfg located in configs, do not edit them in the plugin cause the cvars file gets executed after cvars are registered
ZaX is offline
Bavarian
Junior Member
Join Date: Aug 2021
Location: Kurdzhali, Bulgaria
Old 10-22-2021 , 15:58   Re: ZP 4.3 - Changes are not saving after editing "zombie_plague40.sma"
Reply With Quote #6

Quote:
Originally Posted by ZaX View Post
Edit the cvars in zombieplague.cfg located in configs, do not edit them in the plugin cause the cvars file gets executed after cvars are registered
Thanks dawg, works fine
Bavarian is offline
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

Forum Jump


All times are GMT -4. The time now is 14:52.


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