19.02.2012, 10:41
Mude Esse
Por Esse
se deu Certo Me Ajude Com Rep++
pawn Код:
public ActionCamera()
{
for(new i=0; i<MAX_PLAYERS; i++) {
if(Camera[i] == 1) {
SetPlayerCameraPos(i,CameraX[i], -1324.0, 287.2);
SetPlayerCameraLookAt(i,1374.5, -1291.1, 239.0);
CameraX[i]+= 0.5;
if(CameraX[i] == 1500.0) {
}
if(CameraX[i] == 1700.0) {
SetPlayerCameraPos(i,CameraX[i], CameraY[i], 287.2);
SetPlayerCameraLookAt(i,1374.5, -1291.1, 239.0);
CameraY[i]+= 0.5;
}
if(CameraX[i] >= 2400.0) {
CameraZ[i] = 287.2;
Camera[i] = 2;
}
}
else if(Camera[i] == 2) {
SetPlayerCameraPos(i,CameraX[i], CameraY[i], 287.2);
SetPlayerCameraLookAt(i,1374.5, -1291.1, 239.0);
CameraY[i]+= 0.5;
if(CameraY[i] >= -724.0) {
CameraZ[i] = 287.2;
Camera[i] = 3;
}
}
else if(Camera[i] == 3) {
SetPlayerCameraPos(i,CameraX[i], CameraY[i], 287.2);
SetPlayerCameraLookAt(i,1374.5, -1291.1, 239.0);
CameraX[i]-= 0.5;
if(CameraX[i] <= 850.0){Camera[i] = 4;}
}else if(Camera[i] == 4)
{
SetPlayerCameraPos(i,CameraX[i], CameraY[i], CameraZ[i]);
SetPlayerCameraLookAt(i,1374.5, -1291.1, 239.0);
CameraY[i]-= 0.5;
if(CameraY[i] <= -1224.0) {
CameraX[i] = 1460.0;
CameraY[i] = -1324.0;
CameraZ[i] = 287.2;
CameraZ[i] = 287.2;
Camera[i] = 0;
}
}
else {
Camera[i] = 0;
}
}
return 1;
}
pawn Код:
public ActionCamera()
{
for(new i=0; i<MAX_PLAYERS; i++)
{
if(Camera[i] == 1)
{
SetPlayerCameraPos(i,CameraX[i], -1324.0, 287.2);
SetPlayerCameraLookAt(i,1374.5, -1291.1, 239.0);
CameraX[i]+= 0.5;
if(CameraX[i] == 1500.0)
{
}
if(CameraX[i] == 1700.0)
{
SetPlayerCameraPos(i,CameraX[i], CameraY[i], 287.2);
SetPlayerCameraLookAt(i,1374.5, -1291.1, 239.0);
CameraY[i]+= 0.5;
}
if(CameraX[i] >= 2400.0)
{
CameraZ[i] = 287.2;
Camera[i] = 2;
}
}
else if(Camera[i] == 2)
{
SetPlayerCameraPos(i,CameraX[i], CameraY[i], 287.2);
SetPlayerCameraLookAt(i,1374.5, -1291.1, 239.0);
CameraY[i]+= 0.5;
if(CameraY[i] >= -724.0)
{
CameraZ[i] = 287.2;
Camera[i] = 3;
}
}
else if(Camera[i] == 3)
{
SetPlayerCameraPos(i,CameraX[i], CameraY[i], 287.2);
SetPlayerCameraLookAt(i,1374.5, -1291.1, 239.0);
CameraX[i]-= 0.5;
if(CameraX[i] <= 850.0){Camera[i] = 4;}}else if(Camera[i] == 4)
{
SetPlayerCameraPos(i,CameraX[i], CameraY[i], CameraZ[i]);
SetPlayerCameraLookAt(i,1374.5, -1291.1, 239.0);
CameraY[i]-= 0.5;
if(CameraY[i] <= -1224.0)
{
CameraX[i] = 1460.0;
CameraY[i] = -1324.0;
CameraZ[i] = 287.2;
CameraZ[i] = 287.2;
Camera[i] = 0;
}
}
else{Camera[i] = 0;
}
}
return 1;
}
se deu Certo Me Ajude Com Rep++