public OnPlayerRequestSpawn(playerid){// PREVENT SPAWN WITHOUT LOGIN if(YourIfLoggedInCheck){ // Do something return 0; } return 1;}