• Donators spawn with equipped entity
    3 replies, posted
Hello! I am attempting to make it so that when my donators spawn into the server they spawn an entity (wings_color) equipped. How can I go about doing this and what directory would this even go in?
Use PlayerSpawn and check if the player is in a donator group, if they are, give them the shit you wanna give them. Oh and make sure it's a server side file
[QUOTE=Tupac;50194901]Use PlayerSpawn and check if the player is in a donator group, if they are, give them the shit you wanna give them. Oh and make sure it's a server side file[/QUOTE] Right. I'm new to this and don't know how I would go about doing so.
[lua] hook.Add("PlayerSpawn", "l2c", function(ply) if(ply:IsUserGroup('donator')) then // you can't equip entities so do whatever you mean here end end) [/lua]
Sorry, you need to Log In to post a reply to this thread.