Hey dear readers, im currently working on the slasher modification and found an interesting github repo from one user.
He splits out the killers get select by map.
I tried to make net.receive using to make it so: If the player is admin he gets another killer than the normal killer on a map.
But the net functions are new to me and idk if its work.
Here is the repo:
https://github.com/LPDaVinci/Slasher-Modified/tree/dev
You have to look in these files:
https://github.com/LPDaVinci/Slasher-Modified/blob/dev/gamemode/maps/slash_highschool.lua
and the killer
https://github.com/LPDaVinci/Slasher-Modified/blob/dev/gamemode/killers/ghostface.lua
So how is it possible to run a net function to run the killer function into the map.lua and how is it possible to make a if check to run the net function for killer one if player is admin and run the net when the user is not killer.
Maybe u know what i mean
have a nice day