Raised This Month: $ Target: $400
 0% 

set_hudmessage


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
EpicFail.
Senior Member
Join Date: May 2010
Old 08-07-2010 , 12:21   Re: set_hudmessage
Reply With Quote #1

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
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 08-07-2010 , 12:25   Re: set_hudmessage
Reply With Quote #2

Missing an S on #define line.
__________________
Bugsy is offline
EpicFail.
Senior Member
Join Date: May 2010
Old 08-07-2010 , 12:33   Re: set_hudmessage
Reply With Quote #3

@vL.

Your script make Hug Massage for all people connected to server

this make Hug Massage like this (Camouflage Time: -and the numbers running back like -1 -2 -3 and more) ..

O_O how i can do this only when people buy the Camouflage in the shop this make a Hug Massage
EpicFail. is offline
vL.
Senior Member
Join Date: Aug 2009
Location: Estonia
Old 08-07-2010 , 12:33   Re: set_hudmessage
Reply With Quote #4

Wops

Quote:
Originally Posted by EpicFail. View Post
@vL.

Your script make Hug Massage for all people connected to server

this make Hug Massage like this (Camouflage Time: -and the numbers running back like -1 -2 -3 and more) ..

O_O how i can do this only when people buy the Camouflage in the shop this make a Hug Massage
The running back is ur script, not mine

Hud message only for admins:

PHP Code:
#define ADMIN_ACCES    ADMIN_KICK // The flag needed. 


PHP Code:
#define ADMIN_ACCESS    ADMIN_KICK // The flag needed. 
vL. is offline
EpicFail.
Senior Member
Join Date: May 2010
Old 08-07-2010 , 12:45   Re: set_hudmessage
Reply With Quote #5

Quote:
Originally Posted by vL. View Post
Wops



The running back is ur script, not mine

Hud message only for admins:

PHP Code:
#define ADMIN_ACCES    ADMIN_KICK // The flag needed. 


PHP Code:
#define ADMIN_ACCESS    ADMIN_KICK // The flag needed. 

still this running back the numbers ..
EpicFail. is offline
vL.
Senior Member
Join Date: Aug 2009
Location: Estonia
Old 08-07-2010 , 12:46   Re: set_hudmessage
Reply With Quote #6

Quote:
Originally Posted by EpicFail. View Post
still this running back the numbers ..
Well I can't do nothing cause I don't know the code you used.
vL. 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