I tried the playersay hook, and it does not work.
Does anyone know if evovle, ulx or DARKRP conflicts wich this hook?
[editline]05:12PM[/editline]
Even when i copy paste this it does not work
[lua]
function ISaid( ply, text, team, death )
if (string.sub(text, 1, 4) == “/all”) then–if the first 4 letters are /all continue
return “[Global]”…string.sub( text, 5 );–add [Global] infront of the players text then display
end
end
hook.Add( “PlayerSay”, “ISaid”, ISaid );
[/lua]