01.03.2013, 16:06
I got this Onplayerconnect
I want "ShowIntro" To appear first, I tried everything but it keep appearing after GameTextForPlayer(playerid, "~w~Loading account info..", 1500, 3); appears, it appears with dialogs, Can you guys help me ?
pawn Код:
SetTimerEx("ShowIntro", 0000, 0, "d", playerid);
settime();
SetTimerEx("LoadingScreen", 1500, false, "i", playerid);
GameTextForPlayer(playerid, "~w~Loading account info..", 1500, 3);
SetPVarInt(playerid, "prelogin", 1);
SetPVarInt(playerid, "SpecOff", 1);
SetPVarInt(playerid, "givemehit", -1);
SetPVarInt(playerid, "acceptcontract", -1);
ForceClassSelection(playerid);
TogglePlayerSpectating(playerid, 1);
new PlayerIp[32];
GetPlayerIp(playerid, PlayerIp, 32);
if(CheckBan(PlayerIp) == 1) {
SendClientMessage(playerid, -1, "Your IP is banned from the server.");
Kick(playerid);
return 1;
}
GetPlayerIp(playerid, PlayerInfo[playerid][pIp], 50);
SetPlayerColor(playerid, 0xFFFFFF00);
return 1;
}