Hey,
ich bin gerade dabei, Race Pickups zu erstellen,
aber ausser dem Nitropickup, werden die anderen
nicht angezeigt. Also Repairpickup und
VehicleChange Pickup.
Was habe ich falsch gemacht? Hier ist mal der Code:
enum NosInfoS
{
Float:nX,
Float:nY,
Float:nZ
}
enum RepInfoS
{
Float:rX,
Float:rY,
Float:rZ
}
enum CCInfoS
{
Float:ccX,
Float:ccY,
Float:ccZ,
modelid
}
new NosInfo[1][NosInfoS] = {
{-13.6444,-44.0351,2.8443}
};
new RepInfo[1][RepInfoS] = {
{7.1469,-80.7042,2.3878}
};
new CCInfo[1][CCInfoS] = {
{79.0332,-39.7522,0.3365,560}
};
{
Float:nX,
Float:nY,
Float:nZ
}
enum RepInfoS
{
Float:rX,
Float:rY,
Float:rZ
}
enum CCInfoS
{
Float:ccX,
Float:ccY,
Float:ccZ,
modelid
}
new NosInfo[1][NosInfoS] = {
{-13.6444,-44.0351,2.8443}
};
new RepInfo[1][RepInfoS] = {
{7.1469,-80.7042,2.3878}
};
new CCInfo[1][CCInfoS] = {
{79.0332,-39.7522,0.3365,560}
};
//OnGameModeInit
for(new i=0; i<sizeof(NosInfo); i++)
{
CreatePickup(1239,14,NosInfo[i][nX],NosInfo[i][nY],NosInfo[i][nZ],0);
return 1;
}
for(new i=0; i<sizeof(RepInfo); i++)
{
CreatePickup(1239,14,RepInfo[i][rX],RepInfo[i][rY],RepInfo[i][rZ],0);
return 1;
}
for(new i=0; i<sizeof(CCInfo); i++)
{
CreatePickup(1239,14,CCInfo[i][ccX],CCInfo[i][ccY],CCInfo[i][ccZ],0);
return 1;
}
for(new i=0; i<sizeof(NosInfo); i++)
{
CreatePickup(1239,14,NosInfo[i][nX],NosInfo[i][nY],NosInfo[i][nZ],0);
return 1;
}
for(new i=0; i<sizeof(RepInfo); i++)
{
CreatePickup(1239,14,RepInfo[i][rX],RepInfo[i][rY],RepInfo[i][rZ],0);
return 1;
}
for(new i=0; i<sizeof(CCInfo); i++)
{
CreatePickup(1239,14,CCInfo[i][ccX],CCInfo[i][ccY],CCInfo[i][ccZ],0);
return 1;
}