Jaaes Fonktioniert endlich
Jetzt hab ich nur noch eine letzte frage :S
kann man mehrere kommands darüber auch ausführen?
Hier nochmal das Fontkionierende ScriptFür alle die es auch haben wollen xD
Code:function RunCommandList() for k,v in pairs(player.GetAll()) do v:PrintMessage(HUD_PRINTTALK,"Test") v:PrintMessage(HUD_PRINTCENTER,"Test") end RunConsoleCommand("say", "test") end hook.Add("PlayerSay","Chat command dingens", function(ply ,msg, teamChat) if teamChat then return end if msg == "!test" then if ply:IsSuperAdmin() then RunCommandList() else ply:PrintMessage(HUD_PRINTTALK,"Du bist kein Super Admin") end end end)



Zitieren
