AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   How to take the string of a cvar that is another plugin? (https://forums.alliedmods.net/showthread.php?t=89669)

alan_el_more 04-09-2009 08:18

How to take the string of a cvar that is another plugin?
 
How to take the string of a cvar that is another plugin?
thanks in advance :D

fysiks 04-09-2009 08:25

Re: How to take the string of a cvar that is another plugin?
 
PHP Code:

new mycvarstring[32]
get_cvar_string("cvar_name"mycvarstring31

or with pcvars:

PHP Code:

new pCvar
...
pCvar get_cvar_pointer("cvar_name")
...
new 
mycvarstring[32]
get_pcvar_string(pCvarmycvarstring31



All times are GMT -4. The time now is 02:26.

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