I'm trying to display the current online vips on the server but i'm having some trouble.
This is how my current code looks like, and it's showing the message on a new line every single time.
How do i fix this?
PHP Code:
public VipsOnline(id)
{
new szPlayers[32], iNum, szName[33];
get_players(szPlayers, iNum);
for(new i; i < iNum; i++)
{
if(get_user_flags(szPlayers[i]) & VIP_LEVEL)
{
get_user_name(szPlayers[i], szName, charsmax(szName));
ColorChat(id, GREEN, "Online Vips: %s |", szName);
}
}
}
__________________