Page 1 of 1

Taking away a players guns

Posted: Fri Dec 26, 2003 11:53 pm
by LiTe
If the players name was stored in local.player, how would you remove that players weapons(all of them)? Also, how do you have a player say something to all? I thought it was something like 'stufftext say "" ' but it wasn't working for me.

Posted: Sat Dec 27, 2003 8:00 am
by jv_map
local.player takeall
local.string = "wtf where did my gun go omg lol"
local.player stufftext ("say " + local.string)

Posted: Sat Dec 27, 2003 6:18 pm
by LiTe
Thanks, worked perfectly :) How do I freeze his screen, but not freeze the whole server?

BTW, what is the difference between "set" and "seta"?

Posted: Sun Dec 28, 2003 7:53 am
by jv_map
You can perfectly freeze a player with the 'local.player physics_off' command :). Later you can do 'local.player physics_on'.

seta (set archived) immediately writes the cvar value to a cfg file, set doesn't.