Raised This Month: $ Target: $400
 0% 

how to hold user ip/authid/userid in plugin ??


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 12-04-2010 , 18:24   Re: how to hold user ip/authid/userid in plugin ??
Reply With Quote #10

I think this is all that you will need:

PHP Code:
new Trie:g_tTrieName

public plugin_init()
{
    
g_tTrieName TrieCreate()
}

// ...

    // set the value
    
TrieSetCell(g_tTrieNameszAuthID1)

// ...

    // get the value
    
new currentvalue
    
if( TrieGetCell(g_tTrieNameszAuthIDcurrentvalue) )
    {
        
SteamID found in Triecurrentvalue is . . . the current value :)
    } 
__________________
fysiks 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 11:24.


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