Problem with client_print_color
Hi
I inserted colors for the text in the script. When I do the compile there are no errors, but when I log in to the server and type timeleft nothing happens (The text from the script that should be in color does not appear). Does anyone know what the problem is? The code I use is: Code:
#include<amxmodx> |
Re: Problem with client_print_color
Quote:
|
Re: Problem with client_print_color
Can you explain what I need to do because I am a noob in this?
|
Re: Problem with client_print_color
Example:
Code:
client_print_color(id,print_chat, "!g[KGB] !nNema ogranicenja rundi!")Code:
client_print_color(id,print_team_default, "^4[KGB] ^1Nema ogranicenja rundi!") |
Re: Problem with client_print_color
I did just like you but I got 4 errors
|
Re: Problem with client_print_color
Code:
#include<amxmodx> |
Re: Problem with client_print_color
Now that I see you are using the "chatcolor" include
If you are using amx version 1.9 or higher, you don't need this include, if you are using 1.8.2 or lower put the include here so we can help. |
Re: Problem with client_print_color
I add this include but i dont know how to use it
Code:
#if defined _chatcolor_included |
Re: Problem with client_print_color
Do I need to delete this include or can I use it?
I get this error when I compile this Quote:
|
Re: Problem with client_print_color
I was able to fix the script even when the compile has no errors, but when I log in to the server and type timeleft (before that I type the command mp_maxrounds 15) it only shows me "[KGB] preostalo rundi 33" and that display every round.
Can anybody help? Here is the script: Code:
#include<amxmodx> |
| All times are GMT -4. The time now is 11:38. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.