how can i make a server message
which to give you tips
while playing
Thank you in advance for your help
Scripts
Server message
Server message
1

msgs = {
"R for Reload",
"B for Buymenu",
"Leftclick to shoot",
-- add/change more with same pattern
}
local counter = 0
addhook("minute","minhook")
function minhook()
	msg(msgs[counter])
	counter = counter + 1
end
Bowlinghead: I can like, see 2 problems with yours. First, it will try to
msg msgs[0]which doesn't exist. Second, since the counter keeps going up, eventually there will be nothing to show because those entries don't exist either.
msgs = {
	"R for Reload",
	"B for Buy menu",
	"Left click to shoot",
	-- add/change more with same pattern
}
counter = 0
addhook("minute","minhook")
function minhook()
	counter = counter + 1
	if counter > #msgs then
		counter = 1
	end
	msg(msgs[counter])
end
1
