Hey, ich bin dabei ein Selfmade Autohaus zu scripten, aber das Auto spawnt nicht ..
Was ist falsch?
Hier mein bisheriger Code:
enum AutohausCars
{
CarName[64],
modelid,
Float:carX,
Float:carY,
Float:carZ,
Float:carA,
Preis
}
new SellCar[][AutohausCars] = {
{"Sultan",560,1543.9928,-2246.1135,13.5469,21.1330,60000}
};
{
CarName[64],
modelid,
Float:carX,
Float:carY,
Float:carZ,
Float:carA,
Preis
}
new SellCar[][AutohausCars] = {
{"Sultan",560,1543.9928,-2246.1135,13.5469,21.1330,60000}
};
//OnGamemodeInit
for(new i=0; i<sizeof(SellCar); i++)
{
AddStaticVehicle(SellCar[i][modelid],SellCar[i][carX],SellCar[i][carY],SellCar[i][carZ],SellCar[i][carA],1,1);
}
for(new i=0; i<sizeof(SellCar); i++)
{
AddStaticVehicle(SellCar[i][modelid],SellCar[i][carX],SellCar[i][carY],SellCar[i][carZ],SellCar[i][carA],1,1);
}