Untitled

 avatar
unknown
plain_text
2 years ago
343 B
3
Indexable
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);
}
Editor is loading...
Leave a Comment