PHP Code:
for(new index = 1; index <= g_MaxPlayers; index++)
{
if(!is_user_connected(index))
{
continue;
}
if(is_user_alive(id) && is_user_alive(index))
{
if(in_birthday[id])
ColorChat(index, GREEN, "[BIRTHDAY %d Years] ^x03%s^x01: %s", age[id], name, say)
else
ColorChat(index, GREEN, "[%d Years] ^x03%s^x01: %s", age[id], name, say)
}
if(!is_user_alive(id) && !is_user_alive(index))
{
if(in_birthday[id])
ColorChat(index, YELLOW, "*DEAD* ^x04[BIRTHDAY %d Years] ^x03%s^x01: %s", age[id], name, say)
else
ColorChat(index, YELLOW, "*DEAD* ^x04[%d Years] ^x03%s^x01: %s", age[id], name, say)
}
}
__________________