Raised This Month: $ Target: $400
 0% 

set_hudmessage


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
vL.
Senior Member
Join Date: Aug 2009
Location: Estonia
Old 08-07-2010 , 12:08   Re: set_hudmessage
Reply With Quote #1

Add this to your script.

PHP Code:
#include <hamsandwich>

#define ADMIN_ACCES    ADMIN_KICK // The flag needed.

public plugin_init()
{
    
RegisterHam(Ham_Spawn"player""Fwd_Ham_Spawn_Post"1);
}

public 
Fwd_Ham_Spawn_Post(id)
{
    if(
get_user_flags(id) & ADMIN_ACCESS)
    {
        
set_task(0.1"CamoCountdown"id__"b");
    }


Last edited by vL.; 08-07-2010 at 12:11.
vL. is offline
EpicFail.
Senior Member
Join Date: May 2010
Old 08-07-2010 , 12:21   Re: set_hudmessage
Reply With Quote #2

Quote:
Originally Posted by vL. View Post
Add this to your script.

PHP Code:
#include <hamsandwich>

#define ADMIN_ACCES    ADMIN_KICK // The flag needed.

public plugin_init()
{
    
RegisterHam(Ham_Spawn"player""Fwd_Ham_Spawn_Post"1);
}

public 
Fwd_Ham_Spawn_Post(id)
{
    if(
get_user_flags(id) & ADMIN_ACCESS)
    {
        
set_task(0.1"CamoCountdown"id__"b");
    }


Errors
PHP Code:
ErrorUndefined symbol "ADMIN_ACCESS" on line 158
Error
: Empty statement on line 158 
EpicFail. 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 00:18.


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