Finish Cuff using AnimationSync
+ Added Command /cuff for LSPD and FIB (Wanteds can also be cuffed using the Interaction key). + Added Command /syncanim for Supporter * Player can now use CTRL + H to hup (/hup still usable) * Cuffs break after two minutes. TODO: - Players in Animation cannot enter Vehicle as driver neither can drive them. - Cuffed players will not loose their cuffs after reconnect.
This commit is contained in:
@@ -321,5 +321,10 @@ namespace ReallifeGamemode.Server.Extensions
|
||||
{
|
||||
player.TriggerEvent("SERVER:SetInFrontPosition", entity);
|
||||
}
|
||||
|
||||
public static void SetCuffable(this Player player, bool isCuffable)
|
||||
{
|
||||
player.SetSharedData("Cuffable", isCuffable);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user