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

Admin only tutorial


Post New Thread Reply   
 
Thread Tools Display Modes
vittu
SuperHero Moderator
Join Date: Oct 2004
Location: L.A. County, CA
Old 11-04-2004 , 20:57  
Reply With Quote #11

are you thick, all that does is print to the user without admin "[AMX] You are not authed to use this hero"... your not blocking them from using the hero or its powers...
vittu is offline
Send a message via AIM to vittu Send a message via MSN to vittu Send a message via Yahoo to vittu
laptopgun3
Senior Member
Join Date: Oct 2004
Old 11-04-2004 , 21:29  
Reply With Quote #12

ok then tell me how
__________________
laptopgun3 is offline
Send a message via AIM to laptopgun3 Send a message via MSN to laptopgun3
MTS Steel DrAgoN
Veteran Member
Join Date: Jul 2004
Location: California
Old 11-04-2004 , 21:29  
Reply With Quote #13

actually.....you can make it so it slays the player.....which i think would show the user that he is not authed to use the hero
Code:
if ( !(get_user_flags(id)&ADMIN_FLAG) )
{
client_print(0,print_chat,"[AMX] You are not authed to use this hero")
user_kill(id)
return PLUGIN_HANDLED
}
MTS Steel DrAgoN is offline
Send a message via AIM to MTS Steel DrAgoN
Chivas2973
Veteran Member
Join Date: Mar 2004
Location: Wisconsin
Old 11-04-2004 , 21:35  
Reply With Quote #14

will that slay the player everytime he keys down with the hero without admin flag

also is it with flag a (for immunity) specifically or just any flag
__________________
Chivas2973 is offline
MTS Steel DrAgoN
Veteran Member
Join Date: Jul 2004
Location: California
Old 11-04-2004 , 21:40  
Reply With Quote #15

Quote:
Originally Posted by Chivas2973
will that slay the player everytime he keys down with the hero without admin flag

also is it with flag a (for immunity) specifically or just any flag
it will slay the player if he doesnt have the defined flag
(which has been defined to immunity at the top)
MTS Steel DrAgoN is offline
Send a message via AIM to MTS Steel DrAgoN
vittu
SuperHero Moderator
Join Date: Oct 2004
Location: L.A. County, CA
Old 11-04-2004 , 22:24  
Reply With Quote #16

instead of killing the person might be better just to not give them the powers...

edit: !hasPowers
vittu is offline
Send a message via AIM to vittu Send a message via MSN to vittu Send a message via Yahoo to vittu
laptopgun3
Senior Member
Join Date: Oct 2004
Old 11-05-2004 , 00:58  
Reply With Quote #17

ooh what do i edit it to? what do i have to take off the !haspowers
__________________
laptopgun3 is offline
Send a message via AIM to laptopgun3 Send a message via MSN to laptopgun3
laptopgun3
Senior Member
Join Date: Oct 2004
Old 11-05-2004 , 19:08  
Reply With Quote #18

wht do i edit on the !haaspowers?
__________________
laptopgun3 is offline
Send a message via AIM to laptopgun3 Send a message via MSN to laptopgun3
Gullasuppe
New Member
Join Date: Jun 2005
Location: Denmark
Old 06-07-2005 , 09:58  
Reply With Quote #19

Flag!??
Gullasuppe is offline
123
Veteran Member
Join Date: Apr 2005
Location: Katy, TX
Old 06-07-2005 , 10:04  
Reply With Quote #20

Don't spam...!
Don't bring up an old post...!
Why do you do that ???
__________________
//ShadowLeader - 123
123 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 01:29.


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