22.12.2013, 12:50
Hey guy's,
wehen I spawn, I fly into the sky...
Can someone help me?
wehen I spawn, I fly into the sky...
Can someone help me?
public OnPlayerConnect(playerid) { SetPlayerColor(playerid, COLOR_PLAYER_GREY); SetTimerEx("LoginViewTimer", 500, false, "i", playerid); return 1; } forward LoginViewTimer(playerid); public LoginViewTimer(playerid) { SpawnPlayer(playerid); TogglePlayerSpectating(playerid, true); InterpolateCameraPos(playerid, 232.7062, -49.0282, 3.7268, 230.1935, -338.5264, 78.9081, 60000, CAMERA_MOVE); InterpolateCameraLookAt(playerid, 232.6680, -48.0248, 3.7168, 230.1855, -337.5224, 78.4731, 60000, CAMERA_MOVE); CheckAccount(playerid); return 1; }
SpawnPlayer(playerid); SetTimerEx("SpawnLoginTimer", 250, false, "i", playerid); forward SpawnLoginTimer(playerid); public SpawnLoginTimer(playerid) { SetPlayerSkin(playerid, 115); SetPlayerPos(playerid, 1554.9198,-1365.9075,329.4535); SetCameraBehindPlayer(playerid); return 1; }