Hi,
In dem Script von Ronny Schulz (LoS,Life of Sun)
kann ich jedes Frak Car betreten obwohl ich nicht die Frak bin.
Hier mal von den Ballas:
new BallasVehs[11];//
if(!IsPlayerInFrac(playerid,14))
{
for(new pv = 0; pv < sizeof(BallasVehs); pv++)
{
if(newcar == BallasVehs[pv])
{
SendClientMessage(playerid,COLOR_RED,"Du bist kein Mitglied der ballas!");
RemovePlayerFromVehicle(playerid);
TogglePlayerControllable(playerid,false);
TogglePlayerControllable(playerid,true);
}
}
}
//********************************Gang Autos*************************************************************************
BallasVehs[0] = AddStaticVehicleEx(560,1977.2090,-1127.7297,25.7279,206.1811,22,22,-1);
BallasVehs[1] = AddStaticVehicleEx(560,1984.0170,-1130.2471,25.6667,269.6397,22,22,-1);
BallasVehs[2] = AddStaticVehicleEx(560,1991.3291,-1130.4581,25.3709,272.7546,22,22,-1);
BallasVehs[3] = AddStaticVehicleEx(522,2008.8417,-1130.3496,24.9062,88.7022,22,22,-1);
BallasVehs[4] = AddStaticVehicleEx(522,2033.6932,-1130.7136,24.1661,88.8259,22,22,-1);
BallasVehs[5] = AddStaticVehicleEx(411,2027.1393,-1130.6174,24.3509,89.3017,22,22,-1);
BallasVehs[6] = AddStaticVehicleEx(411,1997.3445,-1141.0830,25.3398,89.3476,22,22,-1);
BallasVehs[8] = AddStaticVehicleEx(451,2013.7217,-1113.6862,26.3207,179.7947,22,22,-1);
for(new pv = 0; pv < sizeof(BallasVehs); pv++)
{
SetVehicleNumberPlate(BallasVehs[pv], "BALLAS");
SetVehicleToRespawn(BallasVehs[pv]);
}
Was fehlt?