17.09.2015, 00:50
any one can change the view of camera to evaction checkpoint..
PHP Code:
function EndMap()
{
ClearObjects();
DestroyAllVehicle();
UnloadFilterScript(Map[FSMapName]);
LoadMap(LoadNewMap());
LoadFilterScript(Map[FSMapName]);
SetTimer("StartMap",MAX_RESTART_TIME,false);
GameTextForAll("~n~~n~~n~~n~~n~~g~Loading~w~ next map",3500,5);
foreach(Player,i)
{
ChangeCameraView(i);
TogglePlayerControllable(i,0);
TextDrawShowForPlayer(i, ServerIntroOne[i]);
TextDrawShowForPlayer(i, ServerIntroTwo[i]);
if(pInfo[i][pAdminDuty] == 1)
{
pInfo[i][pAdminDuty] = 0;
}
}
SendClientMessageToAll(-1,""chat""COL_YELLOW" Creating Objects...");
return 1;
}