Code:
new g_bJustConnected[33];
public client_connect(iCl)
g_bJustConnected[33] = true;
public fnFunction(iCl)
{
// Check if player has just connected
if (g_bJustConnected[iCl])
{
// Player has just connected, set the task
set_task(TASK_MENU_DISPLAY_TIME, "choose_menu", iCl);
// Now set that player is no longer "just connected"
g_bJustConnected[iCl] = false;
}
}
Is this what you want?
__________________