23.09.2015, 20:35
Quote:
---------------------------------- [22:29:48] Hot Room Loaded (TDM). [22:29:48] ---------------------------------- [22:29:48] Number of vehicle models: 0 [22:31:28] [connection] **** requests connection cookie. [22:31:29] [connection] incoming connection: ***id: 0 [22:31:30] [join] Face9000 has joined the server (0:1**) [22:31:30] IsPlayerBanned called. [22:35:26] Game Mode EXit return one executing |
Код:
public GameModeExitFunc(playerid) { CallRemoteFunction("GMChange",""); GameTextForAll("~y~Loading next mission ~n~ ~w~Please Wait....",5000,5); if(TeamBlueScore > TeamRedScore) { GameTextForAll("~w~Team ~b~Blue ~w~Won!", 4500, 4); } else if(TeamRedScore > TeamBlueScore) { GameTextForAll("~w~Team ~r~Red ~w~Won!", 4500, 4); } else if(TeamRedScore == TeamBlueScore) { GameTextForAll("~w~Mission Draw!", 4500, 4); } KillTimer(CheckScoreTimer); KillTimer(GameTimer); KillTimer(ScoreTimer); TextDrawHideForPlayer(playerid,Timer); TextDrawHideForAll(TimeLeftTxd); TextDrawDestroy(TimeLeftTxd); TextDrawHideForAll(BTSTxd); TextDrawDestroy(BTSTxd); TextDrawHideForAll(RTSTxd); TextDrawDestroy(RTSTxd); print("Game Mode EXit return one executing"); return 1; }
Код:
SetTimer("GameModeExitFunc", RoundTime, 0);