Raised This Month: $ Target: $400
 0% 

Simple connect doesent work 0.0


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
petrov_belota
Member
Join Date: Mar 2008
Old 03-05-2009 , 12:32   Simple connect doesent work 0.0
Reply With Quote #1

Hi to all
This is my first plugin =]
But i don't know why he doesent work
Here is the code:
PHP Code:

#include <amxmodx>
#include <amxmisc>

#define PLUGIN "ConnectMsg"
#define VERSION "1.0"
#define AUTHOR "SounD"


public plugin_init() {
    
register_plugin(PLUGINVERSIONAUTHOR)    
}

public 
client_connect(id) {
    new 
name [32] ;
    
get_user_name(idname31)
    
set_hudmessage(2552552550.100.5006.012.0)
    if(
is_user_admin(id)) {
          
show_hudmessage(0"Warrning !!! ^n Admin %s is connecting ! ^nBe more careful !")
         } else {
             
show_hudmessage(0"%s is connecting !")
        }
    } 
The plugin is compiling without errors and
warrnings, but in game he doesent work 0.o
I look for hud msg durring take in players but it not
show me the msg
Sorry for my bad language
10x in advance ;)
petrov_belota 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 16:53.


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