Raised This Month: $ Target: $400
 0% 

Creating and Deleting Variables at run time?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
pRED*
Join Date: Dec 2006
Old 12-21-2006 , 02:39   Re: Creating and Deleting Variables at run time?
Reply With Quote #10

Just to clarify thought in case ive missed something (first time doing pawn)

Code:
public cmdrate_result_func(id,const cvar[],const value[]) {     copy(cmdrate[id],31,value) }

Thats the function that gets called by query_client_cvar and copies that cvar value into a global function.
Theres no way to get that cvar value (const value[]) back into the main function without using a global variable?
pRED* 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 22:19.


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