Admin only command- Gatling weapon
1 Attachment(s)
Hi all,
Attached is a weapon plugin called "Gatling".. and under the plugin init section you will find the register_clcmd line that I've edited to make it console only & for admins only.. only problems is.. everyone can still use it and NOT only admins.. can someone me help out and make the console command to buy for ADMINS ONLY?! Code:
public plugin_init() |
Re: Admin only command- Gatling weapon
You should check access inside declared function.
Check source code of default plugins. For example: Quote:
|
Re: Admin only command- Gatling weapon
Quote:
so do u mean it's a whole new section to add? |
| All times are GMT -4. The time now is 22:09. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.