AdrenalineX Forums
General => AdrenalineX Development => Bug Reports => Topic started by: [MAF]mooman on April 19, 2010, 11:17:09 pm
-
some hacker got in someone else's car, after i banned him the car disappeared and the other guy timed out
-
Add a bit of code to kick/ban/banevade, it should remove the players from the vehicle now. Although, changing a vehicles virtual world shouldn't of made a player timeout.
new safe = GetPlayerVehicleID(id);
printf("car found : %d",safe);
if(safe)
{
foreach(Player, i)
{
if(IsPlayerInVehicle(i, safe))RemovePlayerFromVehicle(id);
}
SetVehicleVirtualWorld(safe,DEADVWORLD_MIN);
}