This site is a testing version, but all data is shared with the live forum.


Raised This Month: $ Target: $400
 0% 

How to distinguish public variables with the same name?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Leech_v2
Senior Member
Join Date: Mar 2011
Location: Chinese GuangDong
Old 10-09-2023 , 04:56   Re: How to distinguish public variables with the same name?
Reply With Quote #1

Hey boss, is amx still updating?

Last edited by Leech_v2; 10-09-2023 at 04:58.
Leech_v2 is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 10-10-2023 , 21:41   Re: How to distinguish public variables with the same name?
Reply With Quote #2

Quote:
Originally Posted by bigdaddy424 View Post
dirty trick to avoid get_p/x/cvar num every second
PHP Code:
new var;bind_pcvar_num(create_cvar("private_cvar""0"FCVAR_SPONLY), var) 
Completely unnecessary. Xvars exist for a reason (while not perfect, they still work just fine for how they were designed).

Quote:
Originally Posted by Leech_v2 View Post
Hey boss, is amx still updating?
Who are you asking? Nobody in this thread has anything to do with what makes it into AMX Mod X's actual code. You can all changes and requests for changes on GitHub.
__________________
fysiks 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 02:27.


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