error 029: invalid expression ЎAyuda!
#3

pawn Код:
if(PlayerInfo[playerid][pMuerto] == 0 /*&& AdminDuty[playerid] == 0*/) //Sistema de muerte
{
    GetPlayerPos(playerid, MuertoX[playerid], MuertoY[playerid], MuertoZ[playerid]);
    MuertoInt[playerid] = GetPlayerInterior(playerid), MuertoVW[playerid] = GetPlayerVirtualWorld(playerid); //-2653.3765, 629.7842, 13.4351
   
    if(GetDistance(MuertoX[playerid], MuertoY[playerid], MuertoZ[playerid], 1182.8728, -1323.5931, 13.5783) > GetDistance(MuertoX[playerid], MuertoY[playerid], MuertoZ[playerid], 2002.5728, -1445.3669, 13.5616) > GetDistance(MuertoX[playerid], MuertoY[playerid], MuertoZ[playerid], -2653.3765, 629.7842, 13.4351) > GetDistance(MuertoX[playerid], MuertoY[playerid], MuertoZ[playerid], 1602.0519,1819.3652,10.8280))
    { // Si se cumple la condiciуn...
        PlayerInfo[playerid][pMuerto] = 1;
    }
    else
    { // Si NO se cumple...
        PlayerInfo[playerid][pMuerto] = 2;
    }
    else
    { // Si NO se cumple...
        PlayerInfo[playerid][pMuerto] = 3;
    }
    else
    { // Si NO se cumple...
        PlayerInfo[playerid][pMuerto] = 4;
    }
}

//-------- DEBERНA SER ASН

if(PlayerInfo[playerid][pMuerto] == 0 /*&& AdminDuty[playerid] == 0*/) //Sistema de muerte
{
    GetPlayerPos(playerid, MuertoX[playerid], MuertoY[playerid], MuertoZ[playerid]);
    MuertoInt[playerid] = GetPlayerInterior(playerid), MuertoVW[playerid] = GetPlayerVirtualWorld(playerid); //-2653.3765, 629.7842, 13.4351
   
    if(GetDistance(MuertoX[playerid], MuertoY[playerid], MuertoZ[playerid], 1182.8728, -1323.5931, 13.5783) > GetDistance(MuertoX[playerid], MuertoY[playerid], MuertoZ[playerid], 2002.5728, -1445.3669, 13.5616) > GetDistance(MuertoX[playerid], MuertoY[playerid], MuertoZ[playerid], -2653.3765, 629.7842, 13.4351) > GetDistance(MuertoX[playerid], MuertoY[playerid], MuertoZ[playerid], 1602.0519,1819.3652,10.8280))
    { // Si se cumple la condiciуn...
        PlayerInfo[playerid][pMuerto] = 1;
    }
    else
    { // Si NO se cumple...
        PlayerInfo[playerid][pMuerto] = 2;
        PlayerInfo[playerid][pMuerto] = 3;
        PlayerInfo[playerid][pMuerto] = 4;
    }
}
Reply


Messages In This Thread
error 029: invalid expression ЎAyuda! - by tecsharp - 01.11.2014, 16:13
Re: error 029: invalid expression ЎAyuda! - by tecsharp - 01.11.2014, 17:15
Re: error 029: invalid expression ЎAyuda! - by Ochenta - 01.11.2014, 17:28
Re: error 029: invalid expression ЎAyuda! - by tecsharp - 01.11.2014, 17:47
Respuesta: Re: error 029: invalid expression ЎAyuda! - by aoEXE - 01.11.2014, 23:34

Forum Jump:


Users browsing this thread: 1 Guest(s)