execCmd - EdgeIY/infiniteyield GitHub Wiki

Documentation

void execCmd(<string> cmdStr, <Player> speaker)

Description

Executes the command cmdstr from speaker's perspective. If speaker is not provided then it'll default to LocalPlayer.

Example

-- Note: This is just a snippet
["Function"] = function(args, speaker)
    execCmd("rj", speaker) -- if you ran the command yourself, then it's the same as execCmd("rj")
end
⚠️ **GitHub.com Fallback** ⚠️