Thanks, its working now:
Code:
if (connection > 1)
{
while (!str_len(playerName))
{
p_insertName.visible = on;
p_background.visible = on;
p_build.visible = on;
p_logo.visible = on;
//--- INKEY
str_cpy (playerName, "new player ");
RF_setFontRenderSettings(RF_CONSTANTS_CENTER, 0);
RF_pnlRenderString(show_name, paintballFont, playerName);
inkeyRefresh(show_name, paintballFont, playerName);
inkey(playerName);
}
}