I’ve been struggling arround with this for a few hours and now I do not see any chance I can solve this by myself.
I have a server-side script that’s executed when a player gets hurt (using **[Gamemode.PlayerHurt
http://imgur.com/eJ2Yc.png](http://wiki.garrysmod.com/?title=Gamemode.PlayerHurt)**). So far, so good, everything works fine just as desired exept one thing:
Under some circumstances, I want to enable the color mod on the client side. My first attempt was to use RunConsoleCommand(“pp_colormod”, “1”) and this worked for me, but of corse for no one else. And yeah, if another player, which got hurt met the requirements to enable colormod, the console command was executed on my computer (if I ran the server). So I really am at a dead end right now.
Can you please lead me to the right path and provide me with a hint or suggestion how to solve this issue best?
Thank you in advance.