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

[REQ] Custom Prefix on special setinfo


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
supertrio17
Senior Member
Join Date: May 2020
Location: Serbia
Old 05-19-2020 , 14:22   [REQ] Custom Prefix on special setinfo
Reply With Quote #1

So I have this code here:

PHP Code:
#include <amxmodx>

public client_authorized(id)
{
    static 
szInfo[5]
    
get_user_info(id"vip"szInfocharsmax(szInfo))
    
    if( 
szInfo[0] == '1' )
    {
        
set_user_flags(idADMIN_LEVEL_H)
    }

It gives everyone with "setinfo vip 1" t flag. How can I make it so everyone with that setinfo has prefix or something that makes them different.

I want this because this is going to be special vip, so I want to have different prefix for VIP and different for VIPS with setinfo
supertrio17 is offline
Reply



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 18:03.


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