Raised This Month: $ Target: $400
 0% 

Access to command only on certain flags


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
tarkan00
Senior Member
Join Date: Jan 2017
Old 06-30-2017 , 12:08   Re: Access to command only on certain flags
Reply With Quote #1

y
Quote:
Originally Posted by DjSoftero View Post
pretty sure you cant compare returned data of get_user_flags(id) wth a string. You would have to do smth like:
PHP Code:
new flags get_user_flags(id)
if(
flags ADMIN_LEVEL_H || flags ADMIN_RCON ){//etc. i`m not very familiar with bitsums, so i might kinda be wrong. but comparing it to string is rly not the way to do it.
        ///////////////////////    your cmds
        ///////////////////////    your cmds
        ///////////////////////    your cmds
        
    

hey bii tch
are you seeing ?
this is good job
if you don't know a work just quiet cunt

Quote:
Originally Posted by Adryyy View Post
Thx. Worked!
your welcome my brother
tarkan00 is offline
DjSoftero
Veteran Member
Join Date: Nov 2014
Location: Lithuania
Old 06-30-2017 , 13:55   Re: Access to command only on certain flags
Reply With Quote #2

Quote:
Originally Posted by tarkan00 View Post
y

hey bii tch
are you seeing ?
this is good job
if you don't know a work just quiet cunt


your welcome my brother
Really nice of you, but if you read what I wrote, you would understand, that I was not trying to be offensive in any way. I never tried to use flags in a string and comparing them. When I posted it, I was ify about that, so it was in hopes, that someone smart will correct me if i'm wrong, but no. Some immature kid goes all over forum and calls everyone idiots. When he knows almost nothing about scripring himself.
__________________
retired chump

Last edited by DjSoftero; 06-30-2017 at 13:56. Reason: Autocorrect typos
DjSoftero 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 01:31.


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