15.07.2010, 20:56
Alguem ae sabe como corrigir esses erros
C:\Users\Egon\Desktop\GW.pwn(7390) : error 001: expected token: ",", but found "."
C:\Users\Egon\Desktop\GW.pwn(7390) : error 029: invalid expression, assumed zero
C:\Users\Egon\Desktop\GW.pwn(7390) : error 029: invalid expression, assumed zero
C:\Users\Egon\Desktop\GW.pwn(7390) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
4 Errors.
C:\Users\Egon\Desktop\GW.pwn(7390) : error 001: expected token: ",", but found "."
C:\Users\Egon\Desktop\GW.pwn(7390) : error 029: invalid expression, assumed zero
C:\Users\Egon\Desktop\GW.pwn(7390) : error 029: invalid expression, assumed zero
C:\Users\Egon\Desktop\GW.pwn(7390) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
4 Errors.
pawn Код:
7385 public OnPlayerOpenGate(playerid)
7386 {
7387 if (GetPlayerVirtualWorld(playerid) == 0)
7388 {
7389 new Float:ppx = 0.0, Float:ppy = 0.0, Float:ppz = 0.0; GetPlayerPos(playerid, ppx, ppy, ppz);
7390 if (DistanciaPontos(915.-1252, 939.-1212, ppx, ppy) < 10) return AbrirFecharSubEBase(playerid, 0); // RAIO PARA BASE DE LAS VENTURAS
7391 else if (DistanciaPontos(2410.-1677, 2440.1654, ppx, ppy) < 10) return AbrirFecharSubEBase(playerid, 1); // RAIO PARA SUB-BASE DE LAS VENTURAS
7392 else if (DistanciaPontos(-2134.739990, -80.227172, ppx, ppy) < 10) return AbrirFecharSubEBase(playerid, 2); // RAIO PARA BASE DE SAN FIERRO
7393 else if (DistanciaPontos(-1866.058837, 1375.023803, ppx, ppy) < 10) return AbrirFecharSubEBase(playerid, 3); // RAIO PARA SUB-BASE DE SAN FIERRO
7394 else if (DistanciaPontos(1169.313659, -1720.105834, ppx, ppy) < 10) return AbrirFecharSubEBase(playerid, 4); // RAIO PARA BASE DE LOS SANTOS
7395 else if (DistanciaPontos(1954.432067, -2060.469238, ppx, ppy) < 10) return AbrirFecharSubEBase(playerid, 5); // RAIO PARA SUB-BASE DE LOS SANTOS
7396 }
7397 return 1;
7398 }