General > Bug Reports
kick/ban bug [WIP]
(1/1)
[MAF]mooman:
some hacker got in someone else's car, after i banned him the car disappeared and the other guy timed out
[MAF]Rac3r:
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.
--- Code: --- new safe = GetPlayerVehicleID(id);
printf("car found : %d",safe);
if(safe)
{
foreach(Player, i)
{
if(IsPlayerInVehicle(i, safe))RemovePlayerFromVehicle(id);
}
SetVehicleVirtualWorld(safe,DEADVWORLD_MIN);
}
--- End code ---
Navigation
[0] Message Index
Go to full version