08.10.2010, 17:49
Код:
else { gPlayerLogged[playerid] = 1; SpawnPlayer(playerid); // AddPlayerClass(170,1743.5160,-1862.6188,13.5761,5.0574); SetPlayerPos(playerid,1743.5160,-1862.6188,13.5761); SetPlayerFacingAngle(playerid,5.0574); PlayerInfo[playerid][pAdminLevel] = dini_Int(file, "AdminLevel"); SetPlayerScore(playerid, dini_Int(file, "Score")); GivePlayerMoney(playerid, dini_Int(file, "Money")-GetPlayerMoney(playerid)); SetPlayerSkin(playerid, dini_Int(file, "Skin")); GivePlayerWeapon(playerid, PlayerInfo[playerid][pGun1], PlayerInfo[playerid][pKursun1]); GivePlayerWeapon(playerid, PlayerInfo[playerid][pGun2], PlayerInfo[playerid][pKursun2]); GivePlayerWeapon(playerid, PlayerInfo[playerid][pGun3], PlayerInfo[playerid][pKursun3]); GivePlayerWeapon(playerid, PlayerInfo[playerid][pGun4], PlayerInfo[playerid][pKursun4]); SetPlayerPos(playerid,1743.5160,-1862.6188,13.5761); SetPlayerFacingAngle(playerid,5.0574); //SetPlayerCameraPos(playerid, PlayerInfo[playerid][pX], PlayerInfo[playerid][pY], PlayerInfo[playerid][pZ]); //SetPlayerCameraLookAt(playerid, PlayerInfo[playerid][pX], PlayerInfo[playerid][pY], PlayerInfo[playerid][pZ]); //AddPlayerClass(PlayerInfo[playerid][pSkin],1743.5160,-1862.6188,13.5761,5.0574); // SendClientMessage(playerid,COLOR_RED, "[SUNUCU]: Giris yaptiniz."); }