• Replace Gm_ShowHelp?
    3 replies, posted
Hello see in DarkRP when you press F1 it shows up DRP help, but i want to replace it with "say /contrat" how do i do that?
GM:ShowHelp Search for it in your files.
It is in darkrp/gamemodes/server/main.lua It is like that : function GM:ShowHelp(ply) umsg.Start("ToggleHelp", ply) umsg.End() end I want to replace it with "say /contrat" i tried it does LUA errors
[QUOTE=leflambikitue;39353770]It is in darkrp/gamemodes/server/main.lua It is like that : function GM:ShowHelp(ply) umsg.Start("ToggleHelp", ply) umsg.End() end I want to replace it with "say /contrat" i tried it does LUA errors[/QUOTE] Depends on the code you put in there, and posting the errors would be useful. [lua] function GM:ShowHelp(ply) ply:ConCommand("say Did you try it like this?!?") end [/lua]
Sorry, you need to Log In to post a reply to this thread.