public OnPlayerRequestSpawn(playerid){ if(/*The player isn't spawned the first time*/) { ShowPlayerDialog(bla bla bla); return 0; }}