Raised This Month: $ Target: $400
 0% 

ColorChat Help


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
extreem
Member
Join Date: Apr 2011
Location: Czech Republick
Old 04-13-2011 , 15:23   ColorChat Help
Reply With Quote #1

HI, I can't compile my plugin.
Error: fatal error 100: cannot read from file: "colorchat"
PHP Code:
/* Plugin generated by AMXX-Studio */

#include <amxmodx>
#include <amxmisc>
#include <cstrike>
#include <fun>
#include <colorchat>

#define PLUGIN "sayomg"
#define VERSION "1.0"
#define AUTHOR "Extreem"

public plugin_init() {
    
register_plugin(PLUGINVERSIONAUTHOR)
    
register_clcmd("say /rs""reset_score")
    
register_clcmd("say /resetscore""reset_score")
}
public 
reset_score(id)
{
    
cs_set_user_deaths(id0)
    
set_user_frags(id0)
    
cs_set_user_deaths(id0)
    
set_user_frags(id0)
    new 
name[33]
        
get_user_name(idname32)
        
ColorChat(0BLUE"%s reset score"name)

Help please
__________________
extreem is offline
Send a message via Skype™ to extreem
bibu
Veteran Member
Join Date: Sep 2010
Old 04-13-2011 , 15:27   Re: ColorChat Help
Reply With Quote #2

PHP Code:
    new name[33]
        
get_user_name(idname32)
        
ColorChat(0BLUE"%s reset score"name
->

PHP Code:
new name[32]
        
get_user_name(idname31)
        
client_print(0print_chat"%s reset score"name
bibu is offline
extreem
Member
Join Date: Apr 2011
Location: Czech Republick
Old 04-13-2011 , 15:32   Re: ColorChat Help
Reply With Quote #3

bibu, thanx, but I want COLOR Chat
__________________
extreem is offline
Send a message via Skype™ to extreem
JocAnis
Veteran Member
Join Date: Jun 2010
Old 04-13-2011 , 15:32   Re: ColorChat Help
Reply With Quote #4

u need to put 'colorchat.inc' in your addons/amxmodx/scripting/includes folder.
JocAnis is offline
extreem
Member
Join Date: Apr 2011
Location: Czech Republick
Old 04-13-2011 , 15:39   Re: ColorChat Help
Reply With Quote #5

Don't help
Attached Thumbnails
Click image for larger version

Name:	13.4.png
Views:	170
Size:	73.7 KB
ID:	84707  
__________________
extreem is offline
Send a message via Skype™ to extreem
bibu
Veteran Member
Join Date: Sep 2010
Old 04-13-2011 , 15:44   Re: ColorChat Help
Reply With Quote #6

Anyways change the array of get_user_name + you don't have the include. Search for the TuT by drekes.
bibu is offline
extreem
Member
Join Date: Apr 2011
Location: Czech Republick
Old 04-13-2011 , 15:59   Re: ColorChat Help
Reply With Quote #7

Yeah thanx. It's work
__________________
extreem is offline
Send a message via Skype™ to extreem
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 20:07.


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