Timers Help
#1

pawn Код:
public shamalsTimer() {
    ShamalTick--;
    foreach(Player, i) {
        switch(ShamalTick) {
            case 1:{

                mysql_close();
                KillTimer(ShamalTimer);
                playerVariables[i][pInterior] = 0;
                playerVariables[i][pVirtualWorld] = 0;
                SetSpawnInfo(i, 0, playerVariables[i][pSkin], 1447.5026, -2286.8369, 13.5469, 87.1157, 0, 0, 0, 0, 0, 0);
                SetPlayerPos(i, 1447.5026, -2286.8369, 13.5469);
                SetPlayerFacingAngle(i, 87.1157);
            }
            case 3: SendClientMessage(i, COLOR_WHITE, "{FFFFFF}Flight Attendant: We are about to arrive in Los Santos, welcome.");
            case 5: GameTextForAll("~w~You will land in ~r~Los Santos ~w~in 9 seconds.", 1110, 5);
        }
    }
    return 1;
}
What's wrong with this? It shows the flight attendant message but it doesn't teleport the player.
Reply


Messages In This Thread
Timers Help - by WinterAce - 21.07.2012, 17:25
Re: Timers Help - by Don_Speed - 21.07.2012, 17:28
Re: Timers Help - by WinterAce - 21.07.2012, 17:31

Forum Jump:


Users browsing this thread: 1 Guest(s)