19.10.2017, 20:07
Код HTML:
public OnPlayerConnect(playerid) { SetSpawnInfo(playerid, ANYCORDS, ANYCORDS, ANYCORDS, ANYANGLE, -1, 0, -1, 0, -1, 0); SpawnPlayer(playerid); SetPlayerPos(playerid, 1958.3783, 1343.1572, 15.3746); SetPlayerCameraPos(playerid, 1958.3783, 1343.1572, 15.3746); SetPlayerCameraLookAt(playerid, 1958.3783, 1343.1572, 15.3746); return 1; }
This will prevent "Spawn" button show.
Replace all "ANYCORDS" with any cords, anyway you'll set the player pos after the spawn with this code.
Remember to change player pos and to set the camera behind the player after login/register dialog.
I hope I helped you.