24.10.2011, 20:26
Sу ajusta isso
EDIT:
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;
}