Raised This Month: $ Target: $400
 0% 

Help


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
RBE sLayeR
Member
Join Date: Jul 2019
Location: Republic of Kosovo
Old 03-27-2020 , 16:37   Help
Reply With Quote #1

Could someone help me with this error here
__________________
Copy-and-Paste was programmed by programmers for programmers actually
RBE sLayeR is offline
Nutu_
AlliedModders Donor
Join Date: Mar 2016
Location: Germany
Old 03-27-2020 , 17:55   Re: Help
Reply With Quote #2

what error? :')
__________________
a simple act of caring creates an endless ripple.
Nutu_ is offline
RBE sLayeR
Member
Join Date: Jul 2019
Location: Republic of Kosovo
Old 03-28-2020 , 07:14   Re: Help
Reply With Quote #3

Quote:
Originally Posted by Nutu_ View Post
what error? :')
This
https://forums.alliedmods.net/showthread.php?t=322442
__________________
Copy-and-Paste was programmed by programmers for programmers actually
RBE sLayeR is offline
RBE sLayeR
Member
Join Date: Jul 2019
Location: Republic of Kosovo
Old 03-28-2020 , 14:59   Re: Help
Reply With Quote #4

Can someone help me with that ?

Code:
[12:23:07] L 03/27/2020 - 12:23:07: [AMXX] Run time error 10: native error (native "get_pcvar_num")
[12:23:07] L 03/27/2020 - 12:23:07: [AMXX]    [0] zombie_plague40.sma::cache_cvars (line 7674)
[12:23:07] L 03/27/2020 - 12:23:07: [AMXX]    [1] zombie_plague40.sma::lighting_effects (line 9518)
[12:23:12] L 03/27/2020 - 12:23:12: Invalid CVAR pointer
[12:23:12] L 03/27/2020 - 12:23:12: [AMXX] Displaying debug trace (plugin "zombie_plague40
__________________
Copy-and-Paste was programmed by programmers for programmers actually
RBE sLayeR is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 03-28-2020 , 15:20   Re: Help
Reply With Quote #5

Yes. Register the cvar before trying to retrieve its value.
__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
RBE sLayeR
Member
Join Date: Jul 2019
Location: Republic of Kosovo
Old 03-28-2020 , 15:29   Re: Help
Reply With Quote #6

Quote:
Originally Posted by OciXCrom View Post
Yes. Register the cvar before trying to retrieve its value.
How and where to register ?
And 2-3 days ago this error didnt happend
__________________
Copy-and-Paste was programmed by programmers for programmers actually
RBE sLayeR is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 03-28-2020 , 15:42   Re: Help
Reply With Quote #7

By using "register_cvar" before using any "get_pcvar_*" functions.
__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
RBE sLayeR
Member
Join Date: Jul 2019
Location: Republic of Kosovo
Old 03-28-2020 , 16:22   Re: Help
Reply With Quote #8

Quote:
Originally Posted by OciXCrom View Post
By using "register_cvar" before using any "get_pcvar_*" functions.
On sma file ??
If yes i didnt even modify plugin but this error started suddenly
__________________
Copy-and-Paste was programmed by programmers for programmers actually
RBE sLayeR is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 03-28-2020 , 16:27   Re: Help
Reply With Quote #9

Of course in the .sma. That's all I can say without you actually attaching the file/code.
__________________

Last edited by OciXCrom; 03-28-2020 at 16:28.
OciXCrom is offline
Send a message via Skype™ to OciXCrom
RBE sLayeR
Member
Join Date: Jul 2019
Location: Republic of Kosovo
Old 03-28-2020 , 16:34   Re: Help
Reply With Quote #10

Quote:
Originally Posted by OciXCrom View Post
Of course in the .sma. That's all I can say without you actually attaching the file/code.
i tried sending sma file but got this error
https://imgur.com/lEwGt54
__________________
Copy-and-Paste was programmed by programmers for programmers actually

Last edited by RBE sLayeR; 03-28-2020 at 16:37.
RBE sLayeR 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 13:20.


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