mirror of
https://github.com/BeamMP/Docs.git
synced 2025-07-04 00:46:30 +00:00
remove personal identifiers, change RegisterEvent example
This commit is contained in:
parent
e45393d598
commit
9b83e66d32
@ -269,7 +269,8 @@ Example:
|
|||||||
|
|
||||||
```lua
|
```lua
|
||||||
function ChatHandler(player_id, player_name, msg)
|
function ChatHandler(player_id, player_name, msg)
|
||||||
if msg == "damn" then
|
if msg == "hello" then
|
||||||
|
print("Hello World!")
|
||||||
return 1
|
return 1
|
||||||
else
|
else
|
||||||
return 0
|
return 0
|
||||||
@ -587,8 +588,8 @@ Output:
|
|||||||
```json
|
```json
|
||||||
{
|
{
|
||||||
ip: "127.0.0.1",
|
ip: "127.0.0.1",
|
||||||
discord: "680149671821181011",
|
discord: "12345678987654321",
|
||||||
beammp: "1100385",
|
beammp: "1234567",
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user