Untitled

mail@pastecode.io avatar
unknown
plain_text
7 months ago
343 B
1
Indexable
Never
void g_spawn(ENetPeer* peer, string nick, int x, int y, int netid) {
	gamepacket_t ps;
	ps.Insert("OnSpawn");
	ps.Insert("spawn|avatar\nnetID|" + to_string(netid) + "\nuserID|38214\ncolrect|0|0|20|30\nposXY|" + to_string(x) + "|" + to_string(y) + "\nname|" + nick + "\ncountry|us\ninvis|0\nmstate|0\nsmstate|0"), ps.CreatePacket(peer);
}
Leave a Comment