Raised This Month: $ Target: $400
 0% 

Plugin compile error (old plugin)


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
LithuanianJack
Senior Member
Join Date: Nov 2013
Location: Vilnius, Lithuania
Old 05-17-2016 , 11:40   Plugin compile error (old plugin)
Reply With Quote #1

Hello. Can anyone fix these errors?

PHP Code:
#include <amxmodx>
#include <dhudmessage>

#define PLUGIN "HUD MSG for VIP,Admin,Player"
#define VERSION "1.0"
#define AUTHOR "4iTGAME & Dim4ik"


public plugin_init(){
    
register_plugin(PLUGINVERSIONAUTHOR)
}
public 
client_putinserver(id)set_task(5.0,"flappybuird",id)
public 
flappybuird(id)
{
    new 
szName[32]
    
get_user_name(idszNamecharsmax(szName))
     
    if(
get_user_flags(id) & ADMIN_LEVEL_B)
    {
        
set_dhudmessage(025500.280.1606.012.0)
        
show_dhudmessage(id"Glad to see the Administrator %s! Enjoy the game."szName)
    }
    else if(
get_user_flags(id) & ADMIN_LEVEL_H)
    {
        
set_dhudmessage(025500.280.1606.012.0)
        
show_dhudmessage(id"Glad to see you VIP %s! Enjoy the game."szName)
    }
    else
    {
        
set_dhudmessage(025500.280.1606.012.0)
        
show_dhudmessage(id"Glad to see you %s ! Enjoy the game."szName)
    }
}
     
/* AMXX-Studio Notes - DO NOT MODIFY BELOW HERE
*{\\ rtf1\\ ansi\\ deff0{\\ fonttbl{\\ f0\\ fnil Tahoma;}}\n\\ viewkind4\\ uc1\\ pard\\ lang1049\\ f0\\ fs16 \n\\ par }
*/ 
Attached Thumbnails
Click image for larger version

Name:	err.png
Views:	108
Size:	23.3 KB
ID:	154747  
Attached Files
File Type: inc dhudmessage.inc (3.4 KB, 110 views)
File Type: sma Get Plugin or Get Source (Greet_HUD.sma - 429 views - 1.1 KB)

Last edited by LithuanianJack; 05-17-2016 at 11:41.
LithuanianJack 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 18:32.


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