Hallo,
ich habe folgenden Bug in einem GameMode, unzwar:
wenn ich als FBI Agent in einen FBI Wagen einsteige steht da: Du bist kein FBI-Agent! .
Hier ein paar Zeilen aus dem GM:
if (PlayerInfo[playerid][pMember] == 2 || PlayerInfo[playerid][pLeader] == 2)//FBI Spawn
{
SetPlayerToTeamColor(playerid);
SetPlayerPos(playerid, -2442.8850,533.4604,29.9129);
SetPlayerInterior(playerid,0);
PlayerInfo[playerid][pInt] = 0;
return 1;
}
if(newcar == 73 || newcar == 74 || newcar == 75 || newcar == 76 || newcar == 77 || newcar == 78 || newcar == 79 || newcar == 80)
{
if(PlayerInfo[playerid][pJob] != 14)
{
SendClientMessage(playerid,COLOR_GREY," Du bist kein FBI-Agent!");
RemovePlayerFromVehicle(playerid);
}
}
AddStaticVehicleEx(490,-2429.7813,515.2332,30.0585,217.2639,0,0,-1); //
AddStaticVehicleEx(490,-2425.9924,518.5435,30.0889,224.4839,0,0,-1); //
AddStaticVehicleEx(490,-2422.6323,521.7964,30.0980,226.2618,0,0,-1); //
AddStaticVehicleEx(490,-2419.3723,524.8743,30.0852,231.9152,0,0,-1); //
AddStaticVehicleEx(490,-2417.1965,528.6467,30.1052,241.6926,0,0,-1); //
AddStaticVehicleEx(490,-2415.4187,532.1321,30.1001,247.7759,0,0,-1); //
AddStaticVehicleEx(490,-2414.7090,535.8844,30.1032,260.2434,0,0,-1); //
AddStaticVehicleEx(490,-2413.9646,539.6763,30.0902,266.3646,0,0,-1); //
Falls noch irgendwas wichtiges fehlt, bitte Bescheid geben.
Ich hoffe, dass mir jemand helfen kann!
LG
FBI Car Bug
- [ASAP]Frosty
- Geschlossen
- Erledigt
-
-
so ein schwachsinn das gehört doch alles garnich zusammen
-
if(newcar == 73 || newcar == 74 || newcar == 75 || newcar == 76 || newcar == 77 || newcar == 78 || newcar == 79 || newcar == 80)
{
if(PlayerInfo[playerid][pJob] != 2)
{
SendClientMessage(playerid,COLOR_GREY," Du bist kein FBI-Agent!");
RemovePlayerFromVehicle(playerid);
}
}Stimmt Solsta^^
-
Funktioniert immer noch nicht.
-
if(newcar == 73 || newcar == 74 || newcar == 75 || newcar == 76 || newcar == 77 || newcar == 78 || newcar == 79 || newcar == 80)
{
if (PlayerInfo[playerid][pMember] == 2 || PlayerInfo[playerid][pLeader] == 2)
{
}
else
{
SendClientMessage(playerid,COLOR_GREY," Du bist kein FBI-Agent!");
RemovePlayerFromVehicle(playerid);
}
} -
Danke, funktioniert nun alles wunderbar!