Sokféle megoldást lehet alkalmazni még ezen kívül. Itt egy példa.:
public OnPlayerRequestClass(playerid, classid) {
SetSpawnInfo(playerid, 0, 0, 0, 0, 3, 0, 0, 0, 0, 0, 0, 0); // Without this you\'ll be kicked when you spawn. Set it to wherever you want.
TogglePlayerSpectating(playerid, true);
SetTimerEx(\"login_dialog\", 100, 0, \"i\", playerid);
return 1;
}
forward login_dialog(playerid);
public login_dialog(playerid) {
SetPlayerCameraPos(playerid, x,y,z);
SetPlayerCameraLookAt(playerid, x,y,z);
// Show dialogs etc. here
return 1;
}