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

Check admin status.


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Obada8
Junior Member
Join Date: May 2016
Old 01-14-2018 , 16:08   Check admin status.
Reply With Quote #1

Hello all,

I need to learn how to coding in amxmodx, So i need example to show if I'm admin or no.

When i say /checkme then client_print show this

Hello, you are admin.
Obada8 is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 01-14-2018 , 16:13   Re: Check admin status.
Reply With Quote #2

If you want to learn to write plugins for AMX Mod X, you should first learn to search. Search for basic tutorials and look at existing plugins. A good place to start is in the Tutorials section where there is a good summary of what topics are covered where the first section gives you links to some good beginner tutorials.

Another place that you should look for basic questions is the include files. In them you'll find a function called is_user_admin().

So, first read the tutorials and look in exiting plugins, write your own code, and most importantly, test your own code. If you have issues that that point, you can post a new thread in Scripting Help where you must include the code that you wrote so that we can help you fix it.
__________________

Last edited by fysiks; 01-14-2018 at 16:19.
fysiks is offline
Obada8
Junior Member
Join Date: May 2016
Old 01-15-2018 , 04:58   Re: Check admin status.
Reply With Quote #3

Okay, thank you @fysiks.
Obada8 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 11:37.


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