Raised This Month: $ Target: $400
 0% 

add access flags


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
supertrio17
Senior Member
Join Date: May 2020
Location: Serbia
Old 06-01-2020 , 21:34   Re: add access flags
Reply With Quote #1

You can do something like this

PHP Code:
public cmd_rs(id)
{
    if (
has_flag(idt)) //you change your flag here, t for example
    
{
        
cs_set_user_deaths(id,0);
        
client_print_color(id,id,"^4|^3| ^4Reset Score ^3|^4| ^4YOUR DEATHS ^1HAVE BEEN SET TO ^4[0]");
        return 
PLUGIN_HANDLED;
    }


Last edited by supertrio17; 06-01-2020 at 21:35.
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 16:58.


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