Raised This Month: $12 Target: $400
 3% 

Solved Level + flag


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
1M1e
Member
Join Date: Mar 2020
Old 07-29-2021 , 04:10   Level + flag
Reply With Quote #1

hi,

can some one tell me whats the problem?

i want when some one got in level 40 he will get ADMIN_LEVEL_H

PHP Code:
#include <amxmisc>
#include <crxranks>

#define PLUGIN "New Plug-In"
#define VERSION "1.0"
#define AUTHOR "author"

public plugin_init() {
    
register_plugin(PLUGINVERSIONAUTHOR)
    
    
register_event("HLTV""new_round""a""1=0""2=0");
}

public 
new_round(id)
{
    if(
crxranks_get_user_level(id) >= 40)
    {
        
SetVipFlag(id)
    }

}

SetVipFlagid )
{
    
set_user_flagsidADMIN_LEVEL_H );


Last edited by 1M1e; 07-29-2021 at 14:17.
1M1e 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 10:08.


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