Ich weiß nicht warum es nicht funktioniert ich erstelle ein Fahrzeug und porte mich rein.
Das Fahrzeug wird auch richtig erstellt jedoch werde ich nicht reingeportet, wenn ich das Fahrzeug dann aber zu mir hole ist es sehr wohl da, also muss es ja irgendwo erstellt worden sein.
Könnte das jemand möglicherweise mal bei sich testen?
CMD:race1(playerid, params[])
{
if(PlayerInfo[playerid][pAdmin] >= 1)
{
if(DebugMessages == 1) SendClientMessageX(playerid, COLOR_RED, "PlayerInfo[playerid][TimeRace1NrgID]: %i", PlayerInfo[playerid][TimeRace1NrgID]);
if(PlayerInfo[playerid][TimeRace1NrgID] == -1)
{
PlayerInfo[playerid][TimeRace1NrgID] = AddStaticVehicle(468, TimeRace1[PlayerInfo[playerid][TimeRace1CPNr]][TimeRace1CheckpointX],TimeRace1[PlayerInfo[playerid][TimeRace1CPNr]][TimeRace1CheckpointY],TimeRace1[PlayerInfo[playerid][TimeRace1CPNr]][TimeRace1CheckpointZ], 151, 6, 6);
LinkVehicleToInterior(PlayerInfo[playerid][TimeRace1NrgID], 4);
SetPlayerCheckpoint(playerid,TimeRace1[PlayerInfo[playerid][TimeRace1CPNr]][TimeRace1CheckpointX],TimeRace1[PlayerInfo[playerid][TimeRace1CPNr]][TimeRace1CheckpointY],TimeRace1[PlayerInfo[playerid][TimeRace1CPNr]][TimeRace1CheckpointZ],6);
SetPlayerInterior(playerid, 4);
//SetPlayerPosSelfmade(playerid, TimeRace1[PlayerInfo[playerid][TimeRace1CPNr]][TimeRace1CheckpointX],TimeRace1[PlayerInfo[playerid][TimeRace1CPNr]][TimeRace1CheckpointY],TimeRace1[PlayerInfo[playerid][TimeRace1CPNr]][TimeRace1CheckpointZ]);
PlayerInfo[playerid][IsInTimeRace1] = true;
PutPlayerInVehicle(playerid, PlayerInfo[playerid][TimeRace1NrgID], 0);
if(DebugMessages == 1) SendClientMessageX(playerid, COLOR_RED, "In Vehicle Nr: %i geportet", PlayerInfo[playerid][TimeRace1NrgID]);
PlayerInfo[playerid][TimeRace1CPNr] = 1;
}
else
{
DestroyVehicleSelfmade(PlayerInfo[playerid][TimeRace1NrgID]);
PlayerInfo[playerid][TimeRace1NrgID] = -1;
PlayerInfo[playerid][IsInTimeRace1] = false;
}
PlayerInfo[playerid][TimeRace1StartTick] = 0;
if(DebugMessages == 1) SendClientMessageX(playerid, COLOR_BLUE, "PlayerInfo[playerid][IsInTimeRace1]: %i", PlayerInfo[playerid][IsInTimeRace1]);
}
return 1;
}