You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The network object can be obtained in client scripts with client.network(). It's basically what's between the client and the server, and does all the communication with the server.
Here are some of its functions:
sendChanMessage(channel, message)
Sends a message to all players in channel. This function calls the server's chatMessage events, so you could also execute server commands
CPUnban(player_name)
Unbans player_name
sendPM(player, message)
Sends a PM to player. PMs content is message