Client to Server

How do I send client to the server?

I have a console command that is admin only, it’s purpose is to set and give rights for weapons. However, in my last question. Sombody said I’m running it on the client.

Here is one of my commands:

function cmd_give(ply,command,args)
local pl = player.GetByID(args[1])
print(pl:Name() … “has now got weapon rights!”)

How would I send a message to the server telling the supplied player to get rights?

Anyone know how to do this, cause I need an answer quick if possible!

You could just… run the function serverside right? put it in autorun/server or where ever your doing it.

Thanks for help, it works. Finally…


Glad i could help