Raised This Month: $ Target: $400
 0% 

Get setinfo


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
CsIosefin
Senior Member
Join Date: Aug 2009
Old 09-28-2012 , 07:54   Re: Get setinfo
Reply With Quote #8

I want to do is an authentication system for vip. All I want to say here is that I no longer include cvar for key.
Normal looks like this:
Code:
cvarpassfield=register_cvar("amx_vip_password", "_vip")
get_pcvar_string(cvarpassfield, passfield, 31)
get_user_info(id, passfield, password, 31)
I want to do it like this:
Code:
get_user_info(id, "_vip", passfield, 31)
get_user_info(id, passfield, password, 31)
EDIT: I solved, thanks!

Last edited by CsIosefin; 09-28-2012 at 11:47. Reason: I solved!
CsIosefin is offline
 



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 08:10.


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