Raised This Month: $ Target: $400
 0% 

[BM] Only people with BM can open this menu


Post New Thread Reply   
 
Thread Tools Display Modes
DarkGod
SourceMod DarkCrab
Join Date: Jul 2007
Location: Sweden
Old 01-07-2011 , 20:48   Re: [BM] Only people with BM can open this menu
Reply With Quote #11

Quote:
Originally Posted by snowyledge View Post
Into the BM SMA? I've never started a code.
Yeah, into your BM code.

If you trust me (which I somehow doubt), I can do it for you if you give me the code. Else you'll have to try and figure it out on your own. It's really not hard at all.


At your admin level edit...

Just use BM_ADMIN_LEVEL instead of ADMIN_FLAG (remove the define from my code and then change in the function).
__________________
DarkGod is offline
Send a message via AIM to DarkGod Send a message via MSN to DarkGod
snowyledge
BANNED
Join Date: Dec 2009
Old 01-07-2011 , 20:49   Re: [BM] Only people with BM can open this menu
Reply With Quote #12

Quote:
Originally Posted by DarkGod View Post
Yeah, into your BM code.

If you trust me (which I somehow doubt), I can do it for you if you give me the code. Else you'll have to try and figure it out on your own. It's really not hard at all.


At your admin level edit...

Just use BM_ADMIN_LEVEL instead of ADMIN_FLAG (remove the define from my code and then change in the function).
PM Me your steam name.
snowyledge is offline
Kreation
Veteran Member
Join Date: Jan 2010
Location: Illinois
Old 01-07-2011 , 20:52   Re: [BM] Only people with BM can open this menu
Reply With Quote #13

dg that's too much thinking for him, that's why he needs your steam name.
__________________
Hi.
Kreation is offline
snowyledge
BANNED
Join Date: Dec 2009
Old 01-07-2011 , 21:02   Re: [BM] Only people with BM can open this menu
Reply With Quote #14

Quote:
Originally Posted by Kreation View Post
dg that's too much thinking for him, that's why he needs your steam name.
Maybe hes nice? Ever think of that?
snowyledge is offline
bibu
Veteran Member
Join Date: Sep 2010
Old 01-07-2011 , 21:30   Re: [BM] Only people with BM can open this menu
Reply With Quote #15

Quote:
Originally Posted by snowyledge View Post
First time trying coding. So all I have to do is put that into a sma and compile?
What a shame, and your trying to sell plugins?

iGz Blockmaker Configs/Light Creator $30 , lol'd
bibu is offline
snowyledge
BANNED
Join Date: Dec 2009
Old 01-07-2011 , 22:37   Re: [BM] Only people with BM can open this menu
Reply With Quote #16

Quote:
Originally Posted by bibu View Post
What a shame, and your trying to sell plugins?

iGz Blockmaker Configs/Light Creator $30 , lol'd
First time coding noob.
snowyledge is offline
Kreation
Veteran Member
Join Date: Jan 2010
Location: Illinois
Old 01-08-2011 , 00:32   Re: [BM] Only people with BM can open this menu
Reply With Quote #17

Quote:
Originally Posted by snowyledge View Post
First time coding noob.
Did you really just call him a 'noob'? Oh god.
__________________
Hi.
Kreation is offline
bibu
Veteran Member
Join Date: Sep 2010
Old 01-08-2011 , 05:41   Re: [BM] Only people with BM can open this menu
Reply With Quote #18

Quote:
Originally Posted by snowyledge View Post
First time coding noob.
I am pretty sure that it was you, who wanted to sell some blockmakers too. And copy-pasting a code should everyone know in the Scripting Help, especially you if you are selling plugins.
bibu is offline
Shadezz
Senior Member
Join Date: Jul 2009
Location: Denmark
Old 01-14-2011 , 06:01   Re: [BM] Only people with BM can open this menu
Reply With Quote #19

prob alittle late, but this should work;
Quote:
RegisterSayCmd ("say /bm", "NoAccess");

public NoAccess(index)
{
if(!(get_user_flags(index) & g_a) )
{
client_print(index, print_chat, "%s Only people with BM can open this menu.", gszPrefix)
return PLUGIN_HANDLED
};
}
u prob need to change g_a (thats the command in my SCM to check if the player is an admin)
__________________
Shadezz is offline
snowyledge
BANNED
Join Date: Dec 2009
Old 01-14-2011 , 19:39   Re: [BM] Only people with BM can open this menu
Reply With Quote #20

Shadezz, DarkGod already helped me.
snowyledge 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 08:15.


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