Hallo,
ich hab ne frage...
... also ich hab Tore gemacht
aber die wollen net auf wenn man im Auto
sitzt
Hier:
if(newkeys == (KEY_WALK))
{
if (PlayerToPoint(40.0, playerid, -1571.9320068359, 661.54284667969, 8.1212449073792))
{
if(PlayerInfo[playerid][pMember] == 1 || PlayerInfo[playerid][pLeader] == 1||PlayerInfo[playerid][pMember] == 2 || PlayerInfo[playerid][pLeader] == 2||PlayerInfo[playerid][pMember] == 3 || PlayerInfo[playerid][pLeader] == 3)
{
new car = GetPlayerVehicleID(playerid);
if(IsPlayerInAnyVehicle(playerid) && GetPlayerState(playerid) == 2 && IsPlayerInVehicle(playerid, car))
{
MoveObject(sfpd1,-1571.9320068359, 661.54284667969, 3.1212449073792, 4);
SetTimer("sfpd1timer", 5000, 0);
}
}
}
else if (PlayerToPoint(40.5, playerid, -1700.0808105469, 684.21929931641, 26.706785202026))
{// PD--
if(PlayerInfo[playerid][pMember] == 1 || PlayerInfo[playerid][pLeader] == 1||PlayerInfo[playerid][pMember] == 2 || PlayerInfo[playerid][pLeader] == 2||PlayerInfo[playerid][pMember] == 3 || PlayerInfo[playerid][pLeader] == 3)
{
new car = GetPlayerVehicleID(playerid);
if(IsPlayerInAnyVehicle(playerid) && GetPlayerState(playerid) == 2 && IsPlayerInVehicle(playerid, car))
{
MoveObject(sfpd2,-1700.0808105469, 684.21929931641, 16.706785202026, 4);
SetTimer("sfpd2timer", 5000, 0);
}
}
}
else if (PlayerToPoint(45.5, playerid, -1633.2602539063, 691.55584716797, 6.4729248285294))
{// PD--
if(PlayerInfo[playerid][pMember] == 1 || PlayerInfo[playerid][pLeader] == 1||PlayerInfo[playerid][pMember] == 2 || PlayerInfo[playerid][pLeader] == 2||PlayerInfo[playerid][pMember] == 3 || PlayerInfo[playerid][pLeader] == 3)
{
new car = GetPlayerVehicleID(playerid);
if(IsPlayerInAnyVehicle(playerid) && GetPlayerState(playerid) == 2 && IsPlayerInVehicle(playerid, car))
{
MoveObject(sfpd3,-1633.2602539063, 691.55584716797, -1.4729248285294, 4);
SetTimer("sfpd3timer", 5000, 0);
}
}
}
}
Wieso wollen sie nicht?
Danke
mfg Pascal