Raised This Month: $ Target: $400
 0% 

GetAdminFlag Tag Mismatch


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Synaesthesia
New Member
Join Date: Nov 2019
Old 11-19-2019 , 05:24   GetAdminFlag Tag Mismatch
Reply With Quote #1

PHP Code:
new AdminId:adminID GetUserAdmin(client);
    
if(
GetAdminFlag(adminIDADMFLAG_RESERVATIONAccess_Real) == true)
{
    
PrintToChat(client" \x02[SM]\x01 You have acces to this command!");

This code is in OnClientPostAdminCheck(). I get tag mismatch error on if line.

I've used:

PHP Code:
if(IsClientInGame(client) && CheckCommandAccess(client"scolor"ADMFLAG_RESERVATIONfalse))
{


But that doesn't work either. I can use the command it doesn't says "you don't have permission to this command", but nothing happens too. It doesn't even prints a message.

Last edited by Synaesthesia; 11-19-2019 at 05:26.
Synaesthesia is offline
 



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 17:02.


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