A long time ago on a PVE server somewhere in Russia, I remember a server where players couldn't shoot each other. If your cursor was on a player and you tried to pull the trigger nothing would happen until your cursor was off their body's silhouette. I'd like to setup something like this for my pve players to prevent "incidents". If it's possible I'm thinking it will be something in fn_selfActions (maybe) like:
//Block firing weapon at other players on PVE server
if cursorTarget = isPlayer then (code that won't let you shoot goes here!)
Haha that's about the extent of my code-from-scratch knowledge. Anyone want to take a swing at this? Any help is greatly appreciated.
Question
_Lance_
A long time ago on a PVE server somewhere in Russia, I remember a server where players couldn't shoot each other. If your cursor was on a player and you tried to pull the trigger nothing would happen until your cursor was off their body's silhouette. I'd like to setup something like this for my pve players to prevent "incidents". If it's possible I'm thinking it will be something in fn_selfActions (maybe) like:
//Block firing weapon at other players on PVE server
if cursorTarget = isPlayer then (code that won't let you shoot goes here!)
Haha that's about the extent of my code-from-scratch knowledge. Anyone want to take a swing at this? Any help is greatly appreciated.
Link to comment
Share on other sites
32 answers to this question
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now