Guten Abend,
Ich habe grade eine Car enum gemacht und so und die cars werden nicht gespawnt hir der code:
enum sacar {
CarID,
Float:saX,
Float:saY,
Float:saZ,
Float:saA,
VEHID
};
CarID,
Float:saX,
Float:saY,
Float:saZ,
Float:saA,
VEHID
};
new SAPDCAR[2][sacar] = {
{497,1550.6265,-1707.2272,28.5704,90.3057},
{497,1551.1014,-1643.9941,28.5803,89.9257}
};
{497,1550.6265,-1707.2272,28.5704,90.3057},
{497,1551.1014,-1643.9941,28.5803,89.9257}
};
OnGameModeInit:
for(new car=0; car<sizeof(SAPDCAR); car++) {
SAPDCAR[car][VEHID] = AddStaticVehicle(SAPDCAR[car][VEHID],SAPDCAR[car][saX],SAPDCAR[car][saY],SAPDCAR[car][saZ],SAPDCAR[car][saA],0,1);
}
SAPDCAR[car][VEHID] = AddStaticVehicle(SAPDCAR[car][VEHID],SAPDCAR[car][saX],SAPDCAR[car][saY],SAPDCAR[car][saZ],SAPDCAR[car][saA],0,1);
}
Danke jeden der mir helfen will und kann
ps. Fabi.StaR