29.12.2013, 05:55
(
Последний раз редактировалось botak; 29.12.2013 в 05:58.
Причина: Adding Code
)
Why if i connect to server i have double information ? like this
And here are the code's
And here are the code's
Код:
if(PlayerInfo[playerid][pTut] == 1) { if(PlayerInfo[playerid][pSafeSpawn] == 1 && PlayerInfo[playerid][pSPECN] == 1) {//FINISHED TUTORIAL //FadeColorForPlayer(playerid,0,0,0,0,0,0,0,255,15,0); SetPlayerInterior(playerid,0); SetPlayerVirtualWorld(playerid, 0); SetPlayerPos(playerid,1806.5427,-1575.5707,13.4493); SetPlayerFacingAngle(playerid, 260); SetCameraBehindPlayer(playerid); PlayerInfo[playerid][pSafeSpawn] = 0; PlayerInfo[playerid][pSPECN] = 0; SetPlayerSkin(playerid, 59); ApplyAnimation(playerid,"PED","WALK_GANG1",4.1,1,1,1,50,1); StopAudioStreamForPlayer(playerid); } else if(PlayerInfo[playerid][pSafeSpawn] == 0 && PlayerInfo[playerid][pSPECN] == 0) {//RELOGGING HideArea(playerid); SetPlayerArmour(playerid, PlayerInfo[playerid][pArmor]); SetPlayerInterior(playerid, PlayerInfo[playerid][pInt]); SetPlayerPos(playerid, PlayerInfo[playerid][pSPos_x], PlayerInfo[playerid][pSPos_y], PlayerInfo[playerid][pSPos_z]); SetPlayerFacingAngle(playerid, PlayerInfo[playerid][pSPos_r]); SetCameraBehindPlayer(playerid); StopAudioStreamForPlayer(playerid); //TogglePlayerSpectating(playerid, 0); FadeColorForPlayer(playerid,0,0,0,255,0,0,0,0,15,0); new string[128]; // Welcome format(string, sizeof(string), "SERVER: {FFFFFF}Welcome to GoGamers Roleplay {FF6347}%s{FFFFFF}.", RPN(playerid)); SendClientMessage(playerid, COLOR_NICEGREEN, string); // Player format(string, sizeof(string), "SERVER: {FFFFFF}You are logged in as a player with %d playing hours.", PlayerInfo[playerid][pLevel]); SendClientMessage(playerid, COLOR_NICEGREEN, string); // Helper if(PlayerInfo[playerid][pHelper]){ format(string, sizeof(string), "SERVER: {FFFFFF}You are logged in as level %d helper.", PlayerInfo[playerid][pHelper]); SendClientMessage(playerid, COLOR_NICEGREEN, string);} // VIP if(PlayerInfo[playerid][pDonateRank]){ format(string, sizeof(string), "SERVER: {FFFFFF}You are logged in as a level %d Donor.", PlayerInfo[playerid][pDonateRank]); SendClientMessage(playerid, COLOR_NICEGREEN, string);} // Famed if(PlayerInfo[playerid][pFamed]){ SendClientMessage(playerid, COLOR_NICEGREEN,"SERVER: {FFFFFF}You are logged in as a Famed Player.");} // Developer if(PlayerInfo[playerid][pDeveloper]){ format(string, sizeof(string), "SERVER: {FFFFFF}You are logged in as a level %d Devloper.", PlayerInfo[playerid][pDeveloper]); SendClientMessage(playerid, COLOR_NICEGREEN, string);} // Mappers if(PlayerInfo[playerid][pMapper]){ format(string, sizeof(string), "SERVER: {FFFFFF}You are logged in as a level %d Mapper.", PlayerInfo[playerid][pMapper]); SendClientMessage(playerid, COLOR_NICEGREEN, string);} // Admin if(PlayerInfo[playerid][pAdmin]){ format(string, sizeof(string), "SERVER: {FFFFFF}You are logged in as level %d administrator.", PlayerInfo[playerid][pAdmin]); SendClientMessage(playerid, COLOR_NICEGREEN, string);} // Admin Messages if(PlayerInfo[playerid][pAdmin]){ format(string, sizeof(string), "AdmLogin: Administrator %s has logged in. (Adminstration Level : %d)", RPN(playerid), PlayerInfo[playerid][pAdmin]); SendAdminMessage(COLOR_LIGHTBLUE, string);} } CanTalk[playerid] = 1; SetPlayerToTeamColor(playerid); } } return 1; }