• Respawn
    2 replies, posted
Can't figure out why it's not working. [lua] function Respawn( pl ) if pl:IsAdmin() or pl:IsSuperAdmin() then local name = args[ 1 ] local Target = GetPlayer( name ) if ( Target ) then Target:Spawn() end end end concommand.Add("respawn", Respawn) [/lua]
Try writing like this: function Respawn ( pl, cmd, args )
Thanks, I also had to fix my search function.
Sorry, you need to Log In to post a reply to this thread.