AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   [fakemeta] get_keyvalue() (https://forums.alliedmods.net/showthread.php?t=63236)

SchlumPF* 11-15-2007 13:35

[fakemeta] get_keyvalue()
 
can somebody post me the fakemetacode of get_keyvalue? could not find it in the forum and in fakemeta_utils.inc

ConnorMcLeod 11-15-2007 14:37

Re: [fakemeta] get_keyvalue()
 
This ?

hlstriker 11-15-2007 14:39

Re: [fakemeta] get_keyvalue()
 
EDIT: connorr, you beat me to it :P This is an example still though.

Not sure if this is exactly what you wanted?

PHP Code:

public plugin_precache()
{
    
register_forward(FM_KeyValue"hook_KeyValue"1);
}

public 
hook_KeyValue(entIdhandle)
{
    if(!
pev_valid(entId))
        return 
FMRES_HANDLED;
    
    new 
className[32], key[32], value[32];
    
get_kvd(handleKV_ClassNameclassName31);
    
get_kvd(handleKV_KeyNamekey31);
    
get_kvd(handleKV_Valuevalue31);




All times are GMT -4. The time now is 01:13.

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