Raised This Month: $ Target: $400
 0% 

about get_pcvar_num


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
epic .
Senior Member
Join Date: Oct 2009
Location: China
Old 02-02-2010 , 02:59   about get_pcvar_num
Reply With Quote #1

get_pcvar_num
what is the "p" mean here?

what`s the different from get_cvar_num



Thank you
epic . is offline
Send a message via ICQ to epic .
Sylwester
Veteran Member
Join Date: Oct 2006
Location: Poland
Old 02-02-2010 , 03:01   Re: about get_pcvar_num
Reply With Quote #2

p means pointer.
Check this: http://wiki.amxmodx.org/Optimizing_Plugins_(AMX_Mod_X_Scripting)#Cvar _Pointers
__________________
Impossible is Nothing
Sylwester is offline
BannedUser!
BANNED
Join Date: Feb 2010
Old 02-02-2010 , 03:16   Re: about get_pcvar_num
Reply With Quote #3

PHP Code:
new cvar_check
cvar_check 
register_cvar("amx_test_cvar""1")

public 
check(id)
{
   
client_print(0print_chat"Cvar in %d"get_pcvar_num(cvar_check))

BannedUser! is offline
epic .
Senior Member
Join Date: Oct 2009
Location: China
Old 02-02-2010 , 03:22   Re: about get_pcvar_num
Reply With Quote #4

Really thanks!
You two are nice people
And Sylwester`s Avatar is so nice .
epic . is offline
Send a message via ICQ to epic .
Old 02-02-2010, 04:04
BannedUser!
This message has been deleted by YamiKaitou. Reason: spam
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 07:28.


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