Raised This Month: $ Target: $400
 0% 

I want Only admins can use this plugin but I can't help pls


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
aron9forever
Veteran Member
Join Date: Feb 2013
Location: Rromania
Old 07-03-2014 , 11:49   Re: I want Only admins can use this plugin but I can't help pls
Reply With Quote #1

Quote:
Originally Posted by mottzi View Post
In the end it comes to the same.
I find the cmd_acess() way less readable than checking with flags manualy...
cmd_access is much better because if you have multiple commands running on multiple flags, you have to define them all

if you want to change the access of a command(implying you don't use cmdaccess.ini) you have to remember or search for the flag that's used in the command. With cmd_access you can easily set flags insite the definition of the command.

just my 2 cents
__________________
Meanwhile, in 2050:
Quote:
Originally Posted by aron9forever
useless small optimizations
Quote:
Originally Posted by Black Rose View Post
On a map that is 512x512x128 units you end up with 3,355,443,200,000 different "positions". To store each one of those positions individually in the variable "user_or" you need 12 terabytes of memory.
aron9forever is offline
mottzi
Veteran Member
Join Date: May 2010
Location: Switzerland
Old 07-03-2014 , 12:08   Re: I want Only admins can use this plugin but I can't help pls
Reply With Quote #2

Yeah, I never wrote that cmd_access() wouldn't have its advantages.
mottzi is offline
Send a message via MSN to mottzi
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 21:15.


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