AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Get user interp (https://forums.alliedmods.net/showthread.php?t=75076)

GoGoGo 07-30-2008 02:46

Get user interp
 
PHP Code:

new interp[32]       
get_user_info id"ex_interp"interp31
console_print(id "Your interp is: %s"interp); 

What's wrong with this code ? I know that 32 is to high for interp 6 is ok.

Exolent[jNr] 07-30-2008 03:37

Re: Get user interp
 
Code:
public your_function(id) {     query_client_cvar(id, "ex_interp", "CvarCallback"); } public CvarCallback(id, cvar_name[], cvar_value[]) {    console_print(id, "Your %s is: %s", cvar_name, cvar_value); }

GoGoGo 07-30-2008 04:01

Re: Get user interp
 
Hmm I have got a function. This scritp is hard to add. Is it possible to make it in other way ?


All times are GMT -4. The time now is 05:39.

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