Event
Console.PlayerSubmit
Called when a console command is submitted
Syntax
Console.Subscribe("PlayerSubmit", function(text)
-- il tuo codice
end)
Arguments
| Name | Type | Default | Description |
|---|---|---|---|
text
|
string | — | Text submitted |
Examples
if (text == "some_text") then, Console.Log("Player submitted some_text!"),end