C:\Documents and Settings\Cliente\Desktop\BNC.pwn(64567) : warning 217: loose indentation
C:\Documents and Settings\Cliente\Desktop\BNC.pwn(64570) : warning 217: loose indentation
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;
}
Hoje Estou Pedindo ajudar Sobre Camera do meu servidor na parte do Tutorial, o problema e que nгo aparece o boneco de masculino e feminino e nгo da spawn no player quando termina o tutorial Se alguem Poder ajudar Agradeзo com Reputa... !! Warnings pawn Код:
Linhas do Warnigs pawn Код:
Prints : Link 1 : http://imageshack.us/photo/my-images/534/samp176vp.png/ Link 2 : http://imageshack.us/photo/my-images/171/samp177x.png/ Se Conseguir me Ajudar do +Reputa... |
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;
}
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;
}