• [HELP] How do I make an entity no-collide with players?
    7 replies, posted
On my server there is a big problem. When a player buys a ship it instantly crushes them to death. So I want to make the ships not collide with players. So these are the ships that I'm using: [url]https://steamcommunity.com/sharedfiles/filedetails/?id=495762961[/url] Thanks for the help :D
Set this on the player and ships: [url]https://wiki.garrysmod.com/page/Entity/SetCustomCollisionCheck[/url] Then set them to not collide in here: [url]https://wiki.garrysmod.com/page/GM/ShouldCollide[/url]
I'm not very good at lua... Where do I put this?
Maybe use timer.Create() and set collisions to false for 5 seconds
[QUOTE=JohnnyASeed;49590851]Maybe use timer.Create() and set collisions to false for 5 seconds[/QUOTE] That would be awesome! But as I said before I have no idea where I would put this line :(
You should learn lua then :v It's hard to find someone that will code it to you for free
Is there anyone that could tell me where I would put the code?
[QUOTE=GhostyRG;49596026]Is there anyone that could tell me where I would put the code?[/QUOTE] probably in the code for the shop or whatever where they buy the ship.
Sorry, you need to Log In to post a reply to this thread.