27.12.2014, 11:19
Code:
public OnPlayerRequestClass(playerid, classid) { SetPlayerCameraPos(playerid, 2022.85,2241.80,2105.57); SetPlayerCameraLookAt(playerid, 2021.14,2245.13,2104.95); SetPlayerPos(playerid, 2021.14,2245.13,2103.95); SetPlayerFacingAngle(playerid, 27.8246); SetPlayerInterior(playerid, 0); SetPlayerVirtualWorld(playerid, playerid+0); SetPlayerSpecialAction(playerid,SPECIAL_ACTION_SITTING); TogglePlayerControllable(playerid, false); if(PlayerStat[playerid][Logged] == 1 && PlayerStat[playerid][FullyRegistered] == 1) return LoadPlayerData(playerid); return 1; }