erstmal die fehler:
(1298) : warning 204: symbol is assigned a value that is never used: "Tuningpickup1"
(5688) : error 017: undefined symbol "Tuningpickup1"
(5692) : error 017: undefined symbol "Tuer1"
(5692) : warning 215: expression has no effect
(5692) : error 001: expected token: ";", but found "]"
(5692) : error 029: invalid expression, assumed zero
(5692) : fatal error 107: too many error messages on one line
Unter OnGameModeInit:
new Hebebuene1[2],Tuer1[1],Absperrung1[5],AbsperrungEnde1[1];
Hebebuene1[0] = CreateObject(3406, 2747.6259765625, 2626.275390625, 7.8442478179932, 0, 0, 0);
Hebebuene1[1] = CreateObject(3406, 2747.6259765625, 2623.734375, 7.8442478179932, 0, 0, 0);
Tuer1[0] = CreateObject(5422, 2753.7783203125, 2625.0771484375, 7.77467918396, 0, 180, 0);
Absperrung1[0] = CreateObject(970, 2742.7705078125, 2625.0185546875, 10.466547012329, 0, 0, 90);
Absperrung1[1] = CreateObject(970, 2744.90625, 2622.7099609375, 10.466547012329, 0, 0, 0);
Absperrung1[2] = CreateObject(970, 2749.3095703125, 2622.7099609375, 10.466547012329, 0, 0, 0);
Absperrung1[3] = CreateObject(970, 2749.3095703125, 2627.2822265625, 10.466547012329, 0, 0, 0);
Absperrung1[4] = CreateObject(970, 2744.90625, 2627.2822265625, 10.466547012329, 0, 0, 0);
AbsperrungEnde1[0] = CreateObject(970, 2751.5119628906, 2625.0185546875, 9.8280792236328, 90, 0, 90);
new Tuningpickup1;
Tuningpickup1 = CreatePickup(1239, 1, 2744.8533,2624.9980,10.8203, -1); //<<<<<<<<1298
public OnPlayerPickUpPickup(playerid, pickupid)
{
if(pickupid == Tuningpickup1) //<<<<<<<< 5688
{
if(GetPlayerState(playerid)==PLAYER_STATE_DRIVER)
{
MoveObject(Tuer1[0],2753.7783203125, 2625.0771484375,10.825702667236,4); //<<<<<<< 5692
MoveObject(Hebebuene1[0],2747.6259765625, 2626.275390625,8.9412860870361,4);
MoveObject(Hebebuene1[1],2747.6259765625, 2623.734375,8.9412860870361,4);
MoveObject(Absperrung1[0],2742.7705078125, 2625.0185546875,11,5635852813719,4);
MoveObject(Absperrung1[1],2744.90625, 2622.7099609375,11,5635852813719,4);
MoveObject(Absperrung1[2],2749.3095703125, 2622.7099609375,11,5635852813719,4);
MoveObject(Absperrung1[3],2749.3095703125, 2627.2822265625,11,5635852813719,4);
MoveObject(Absperrung1[4],2744.90625, 2627.2822265625,11,5635852813719,4);
MoveObject(AbsperrungEnde1[0],2751.5119628906, 2625.0185546875,11.511770248413,4);
SetObjectRot(AbsperrungEnde1[0],0,0,90);
}
}
return 1;
}
bin grad i-wie blind... wäre für schnelle hilfe sehr dankbar