-
Notifications
You must be signed in to change notification settings - Fork 28
How to Send your own OnPacket
Muhammad Kevin edited this page May 21, 2023
·
2 revisions
In this page will tell you how to send your own OnPacket
You can make your own OnPacket using onPacketCreate()
function
onPacketCreate() format
- s = String
- d = Integer
- D = Integer X
- f = Float
if (isStr(command[0], "/testconmess")) {
enet_peerSend(onPacketCreate("ss", "OnConsoleMessage", "Hello World"), clientPeer);
break;
}
if (isStr(command[0], "/testconmess")) {
char* hello = "hello world";
enet_peerSend(onPacketCreate("ss", "OnConsoleMessage", CatchMessage("%s World", hello)), clientPeer);
break;
}
Wiki
Introduction
Building the Project
- Codeblocks (Windows Version)
- Manual Build (GCC Windows Version)
- Manual Build (Linux Version)
- Manual Build (Android Version)
Connecting to GTProxy
Configuration File
- Default Configuration File
- usingServerData
- serverDataIP
- manualIP
- manualPort
- manualMeta
- usingNewPacket
- httpsPort
- skipGazette
- isSpoofed
GTProxy Tutorial