Raised This Month: $51 Target: $400
 12% 

set_pcvar_*() broken ?!?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
_Master_
Senior Member
Join Date: Dec 2006
Old 04-30-2007 , 03:31   set_pcvar_*() broken ?!?
Reply With Quote #1

So my question is: given the following code, what value will "amx_some_cvar" have in the end ?
PHP Code:
#include <amxmodx>

new the_pcvar

public plugin_init(){
    
the_pcvar register_cvar("amx_some_cvar""0")
}

// this is just an example
public client_connect(id){
    
set_pcvar_num(the_pcvar1)

The reason I'm asking this is that I've tried to change the PCVARs but so far it doesn't seem to work. The only way I was able to change them was via set_cvar_*()
_Master_ 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 01:02.


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