Raised This Month: $ Target: $400
 0% 

Admin block (blockmaker)


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
rikards1
Member
Join Date: Aug 2009
Old 09-19-2009 , 08:09   Admin block (blockmaker)
Reply With Quote #1

Hello, I just wonder is it possible to make a T and CT barrier that only admins can go through? And if so can some1 plz post the code. ^^

I canīt code so thats why I ask you guys, I would be very happy if some1 could post a coding tut to.

(blockmaker_v4.01)
rikards1 is offline
TakumI
Member
Join Date: Jun 2006
Location: Over there
Old 09-20-2009 , 21:26   Re: Admin block (blockmaker)
Reply With Quote #2

PHP Code:
actionNonAdminBlocker(ident)
{
    if ( 
task_exists(TASK_SOLIDNOT ent) || task_exists(TASK_SOLID ent) ) 
    {
        return 
PLUGIN_HANDLED;
    }
    if(
get_user_flags(id) & BM_ADMIN_LEVEL)
    {    
        
set_task(0.1"TaskSolidNot"TASK_SOLIDNOT ent);
    }
    return 
PLUGIN_HANDLED;

I remember someone writing a tutorial how to modify the BM to add/remove blocks. Have fun searching for that.
__________________
r!p.hns<3
Blockmaker help? Coding requests? PM Me.
TakumI is offline
Send a message via AIM to TakumI Send a message via MSN to TakumI Send a message via Yahoo to TakumI
rikards1
Member
Join Date: Aug 2009
Old 09-21-2009 , 13:13   Re: Admin block (blockmaker)
Reply With Quote #3

okey thnx but... where do I put the code?.... I think i know where but then i need model and stuff...... Help Plz
rikards1 is offline
wundeR
Member
Join Date: Aug 2008
Location: Norway
Old 09-21-2009 , 14:40   Re: Admin block (blockmaker)
Reply With Quote #4

Post the sma file, so can i fix it for you
wundeR is offline
Send a message via MSN to wundeR Send a message via Skype™ to wundeR
Jon
Veteran Member
Join Date: Dec 2007
Old 09-21-2009 , 14:44   Re: Admin block (blockmaker)
Reply With Quote #5

That is so abusive.
Jon is offline
buklaokid
Member
Join Date: Jun 2008
Old 09-21-2009 , 17:17   Re: Admin block (blockmaker)
Reply With Quote #6

Quote:
Originally Posted by wundeR View Post
Post the sma file, so can i fix it for you
Funny with your thread @ http://forums.alliedmods.net/showthread.php?t=104190
buklaokid is offline
TakumI
Member
Join Date: Jun 2006
Location: Over there
Old 09-21-2009 , 21:26   Re: Admin block (blockmaker)
Reply With Quote #7

Quote:
Originally Posted by Jon View Post
That is so abusive.
It's only fair. <3
__________________
r!p.hns<3
Blockmaker help? Coding requests? PM Me.
TakumI is offline
Send a message via AIM to TakumI Send a message via MSN to TakumI Send a message via Yahoo to TakumI
rikards1
Member
Join Date: Aug 2009
Old 10-03-2009 , 03:20   Re: Admin block (blockmaker)
Reply With Quote #8

blockmaker_v4.01.sma
rikards1 is offline
rikards1
Member
Join Date: Aug 2009
Old 10-03-2009 , 03:21   Re: Admin block (blockmaker)
Reply With Quote #9

thats my blockmaker...
rikards1 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 04:57.


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