Raised This Month: $ Target: $400
 0% 

Need help with these


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Samurai [/]
Member
Join Date: Sep 2006
Old 04-20-2007 , 07:18   Re: Need help with these
Reply With Quote #8

Quote:
Originally Posted by scrtxxcaz View Post
try....

Code:
public client_putinserver(id)
{
new admin = is_user_admin(id)
if(admin)
{
       new name[18],players[32],num 
       get_user_name(admin, name, 17)
       get_players(players,num)
       set_hudmessage(255, 255, 255, -1.0, -1.0, 0, 6.0, 12.0)
       for(new g = 0;g < num;g++)
       {
               client_cmd (players[g], "spk %s", g_sound1)
               show_hudmessage(players[g], "Admin %s connected", name)
       }
      //all players here sound and see message
}  
How with disconnect? and:
PHP Code:
if (!(get_user_flags(id)&ADMIN_RESERVATION)) 

I want different hud_message for that case
__________________
Samurai [/] is offline
 



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 06:34.


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