How to Create Moving Skin Camera
#1

class selection for SA:MP

How could it? Please help me!
Reply
#2

idk
but i posted so i could add to my server too
Reply
#3

realy can anyone do this?
Reply
#4

That is SICK. I never thought of doing that.

Anyways, just continously move the players cam from X position to X on a timer frequently.
Reply
#5

yeah its sick... i will give delux host to anyone who made me this!
Reply
#6

Very nice.
Reply
#7

Quote:
Originally Posted by wildwest
yeah its sick... i will give delux host to anyone who made me this!
Do like I said.
Get like 10 camera positions where you would like the camera to move from.
Make a timer to make the camera move every 500 milliseconds from saved pos 1, to 2, to 3, and so on.
Then if the pos of the cam is at the last, set it to 4, then 3, and so on.
Reply
#8

stock MoveCamera.

pawn Код:
new ct[MAX_PLAYERS]=0;
new CamTimer[MAX_PLAYERS];
forward RequestCamMoving(playerid);

public OnPlayerRequestClass(playerid, classid) {
    SetPlayerPos(playerid,-245.9774,2580.2698,63.5703);
    SetPlayerFacingAngle(playerid, 206.4424);
    SetPlayerCameraPosEx(playerid,-251.5704,2576.3738,64.5215,-245.9774,2580.2698,63.5703);
    CamTimer[playerid]=SetTimerEx("RequestCamMoving",50,true,"i",playerid);
    //ct[playerid]=1;
    return 1;
}

public RequestCamMoving(playerid){
    if(gPlayerCameraPos[playerid][coord_x]==-251.5704&&gPlayerCameraPos[playerid][coord_y]==2576.3738&&gPlayerCameraPos[playerid][coord_z]==64.5215){
        MoveCamera(playerid,-240.0654,2576.1228,64.5215,29.8891,-245.9774,2580.2698,63.5703);
  } else if(gPlayerCameraPos[playerid][coord_x]==-240.0654&&gPlayerCameraPos[playerid][coord_y]==2576.1228&&gPlayerCameraPos[playerid][coord_z]==64.5215){
    MoveCamera(playerid,-242.6376,2579.4529,64.5215,41.4825,-245.9774,2580.2698,63.5703);
    } else if(gPlayerCameraPos[playerid][coord_x]==-251.5704&&gPlayerCameraPos[playerid][coord_y]==2576.3738&&gPlayerCameraPos[playerid][coord_z]==64.5215){
    MoveCamera(playerid,-242.6376,2579.4529,64.5215,41.4825,-245.9774,2580.2698,63.5703);
    }
    return 1;
}
But bad

Reply
#9

Quote:
Originally Posted by David.
stock MoveCamera.

pawn Код:
new ct[MAX_PLAYERS]=0;
new CamTimer[MAX_PLAYERS];
forward RequestCamMoving(playerid);

public OnPlayerRequestClass(playerid, classid) {
    SetPlayerPos(playerid,-245.9774,2580.2698,63.5703);
    SetPlayerFacingAngle(playerid, 206.4424);
    SetPlayerCameraPosEx(playerid,-251.5704,2576.3738,64.5215,-245.9774,2580.2698,63.5703);
    CamTimer[playerid]=SetTimerEx("RequestCamMoving",50,true,"i",playerid);
    //ct[playerid]=1;
    return 1;
}

public RequestCamMoving(playerid){
    if(gPlayerCameraPos[playerid][coord_x]==-251.5704&&gPlayerCameraPos[playerid][coord_y]==2576.3738&&gPlayerCameraPos[playerid][coord_z]==64.5215){
        MoveCamera(playerid,-240.0654,2576.1228,64.5215,29.8891,-245.9774,2580.2698,63.5703);
  } else if(gPlayerCameraPos[playerid][coord_x]==-240.0654&&gPlayerCameraPos[playerid][coord_y]==2576.1228&&gPlayerCameraPos[playerid][coord_z]==64.5215){
    MoveCamera(playerid,-242.6376,2579.4529,64.5215,41.4825,-245.9774,2580.2698,63.5703);
    } else if(gPlayerCameraPos[playerid][coord_x]==-251.5704&&gPlayerCameraPos[playerid][coord_y]==2576.3738&&gPlayerCameraPos[playerid][coord_z]==64.5215){
    MoveCamera(playerid,-242.6376,2579.4529,64.5215,41.4825,-245.9774,2580.2698,63.5703);
    }
    return 1;
}
But bad

UR joking? :X
its unfinished.
Reply
#10

Try this: http://forum.sa-mp.com/index.php?top...39.0;topicseen
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)