Hey,
I need a script to disable players from picking up their own cars (Except Admin, Superadmin via ULX) I'm on DarkRP with FAdmin disabled.
Thanks in advance
Use hook.Add PhysgunPickup with function args: _p as Player, _t as Target Entity...
If IsValid( _t ) && _t:IsVehicle( ) then ... check if admin, return false if not admin.. If admin check to see if there is a driver ( server-side only command for GetDriver / GetPassenger ) and if there is verify if the driver is higher rank that _p... If no driver or _p is higher level then allow, otherwise don't...
Cheers
Sorry, you need to Log In to post a reply to this thread.