SA-MP Forums Archive
camera view - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: camera view (/showthread.php?tid=589241)



camera view - sanamalik400 - 17.09.2015

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(iServerIntroOne[i]);
        
TextDrawShowForPlayer(iServerIntroTwo[i]);
        if(
pInfo[i][pAdminDuty] == 1)
        {
            
pInfo[i][pAdminDuty] = 0;
        }
    }
    
SendClientMessageToAll(-1,""chat""COL_YELLOW" Creating Objects...");
    return 
1;




Re: camera view - Kamper - 17.09.2015

dude, here we help you to solve a problem. Writing code for you isn't part of help.


Re: camera view - sanamalik400 - 17.09.2015

i will slove this byself..