PHP Code:
public advert()
{
ColorChat(0, GREEN, "^x04[ULT-Serv] ^x01Click^x03 'N' To Open The^x04 Shop.");
ColorChat(0, GREEN, "^x04[ULT-Serv] ^x01This Server Running ^x04[Hns Shop]^x01 To Open The Shop Type^x03 /hnsshop^x01 or^x03 /shop");
}
Well, if you are using
this ColorChat plugin it should look like this:
PHP Code:
public advert()
{
client_print_color(0, GREEN, "^4[ULT-Serv] ^1Click ^3'N' ^1To Open The ^4Shop.");
client_print_color(0, GREEN, "^4[ULT-Serv] ^1This Server Running ^4[Hns Shop] ^1To Open The Shop Type ^3/hnsshop ^1or ^3/shop");
}
And...
PHP Code:
if(!is_user_alive(id))
{
client_print_color(id, GREEN, "^4[HnS Shop] ^1You need to be alive!");
return PLUGIN_HANDLED;
}
if(userantifrost[id] > 0)
{
client_print_color(id, GREEN, "^4[HnS Shop] ^1You already own this item!");
return PLUGIN_HANDLED;
}
if(get_pcvar_num(allowantifrost) == 0) {
client_print_color(id, GREEN, "^4[HnS Shop] ^1This item is disabled.");
return PLUGIN_HANDLED;
But if you don't say which ColorChat plugin or "Native" you are trying to use, no one can help.