21.07.2012, 17:25
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;
}