Raised This Month: $ Target: $400
 0% 

Amxmodx 1.8.1 [AMXX] Run time error 10: native error (native "get_user_flags")


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
tryout101
Member
Join Date: Mar 2009
Old 06-19-2009 , 06:13   Amxmodx 1.8.1 [AMXX] Run time error 10: native error (native "get_user_flags")
Reply With Quote #1

Hi , I am in need of a solution, it doesn't have to be necessarily the plublic_rules.sma but the amxmisc.inc . I know if i get a solution to amxmisc.inc i can then do it for public rules. How can this error be fixed ?

Using Amxmodx 1.8.1

Thank You.

[AMXX] Run time error 10: native error (native "get_user_flags")
L 06/19/2009 - 05:403: [AMXX] [0] amxmisc.inc::cmd_access (line 50)
L 06/19/2009 - 05:403: [AMXX] [1] public_rules.sma::rules (line 212)

It has something to do with get user flags :

ammisc.inc Lines 50- 53
PHP Code:
else if ( get_user_flags(id) & level )
    {
        
has_access 1;
    } 
And if it makes it any easier
public_rules lines 207-214

PHP Code:
public rules(idlevelcid)
{
    new 
pID[1]
    
pID[0] = id
            
    
if (!cmd_access(idlevelcid0)) {  // NOT ADMIN
        
return PLUGIN_HANDLED
    

tryout101 is offline
 


Thread Tools
Display Modes

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 15:34.


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