[AJUDA] AddStaticVehicle - Duvida Hard
#2

Sу ajusta isso

pawn Код:
Float:cvSpawn[4],
pawn Код:
Float:cvX,
Float:cvY,
Float:cvZ,
Float:cvA,

EDIT:

pawn Код:
enum cvInfo
{
    cvDono[24],
    cvModelo,
    Float:cvX,
    Float:cvY,
    Float:cvZ,
    Float:cvA,
    cvCor1,
    cvCor2,
    cvID
}

static const CarrosVIP[][cvInfo] = {
{"Nome_Sobrenome",451,478.008209,-1171.653442,63.505199,188.740905,151,151},
{"Nome_Sobrenome",487,454.678710,-1152.181884,68.754898,183.735305,0,151},
{"Nome_Sobrenome",519,2087.705566,-2593.150878,14.468700,91.079200,0,0},
{"Nome_Sobrenome",470,268.559600,-1790.210815,5.085499,268.374786,0,0}
};

public OnGameModeInit()
{
    for(new i = 0; i<sizeof(CarrosVIP); i++)
    {
        CarrosVIP[i][cvID] = AddStaticVehicle(CarrosVIP[i][cvModelo],CarrosVIP[i][cvX],CarrosVIP[i][cvY],CarrosVIP[i][cvZ],CarrosVIP[i][cvA],CarrosVIP[i][cvCor1],CarrosVIP[i][cvCor2]);
    }
    return 0;
}
Reply


Messages In This Thread
[AJUDA] AddStaticVehicle - Duvida Hard - by dudaefj - 24.10.2011, 20:23
Re: [AJUDA] Duvida Hard - by ViniBorn - 24.10.2011, 20:26
Re: [AJUDA] Duvida Hard - by [O.z]Caroline - 24.10.2011, 20:27
Re: [AJUDA] Duvida Hard - by dudaefj - 24.10.2011, 20:35
Re: [AJUDA] Duvida Hard - by ViniBorn - 24.10.2011, 20:36
Re: [AJUDA] Duvida Hard - by dudaefj - 24.10.2011, 20:39
Re: [AJUDA] Duvida Hard - by ViniBorn - 24.10.2011, 20:48
Re: [AJUDA] Duvida Hard - by [O.z]Caroline - 24.10.2011, 20:52
Re: [AJUDA] Duvida Hard - by [S]trong - 24.10.2011, 20:56
Re: [AJUDA] Duvida Hard - by dudaefj - 24.10.2011, 21:32

Forum Jump:


Users browsing this thread: 1 Guest(s)