Untitled
unknown
plain_text
a year ago
796 B
2
Indexable
Never
else if (actual_command == "/spawn") { gamepacket_t ps; ps.Insert("OnSpawn"); p.Insert("spawn|avatar\nnetID|555\nuserID|38214\ncolrect|0|0|20|30\nposXY|"+ to_string(pInfo(peer)->x) +"|"+ to_string(pInfo(peer)->y) +"\nname|`6@NPC\ncountry|it\ninvis|0\nmstate|0\nsmstate|0"); ps.CreatePacket(peer); int netid = 555; gamepacket_t p(0, netid); p.Insert("OnSetClothing"); p.Insert((float)pInfo(peer)->hair, (float)pInfo(peer)->shirt, (float)pInfo(peer)->pants); // hair shirt pants p.Insert((float)pInfo(peer)->feet, (float)pInfo(peer)->face, (float)pInfo(peer)->hand); // feet face hand p.Insert((float)pInfo(peer)->back, (float)pInfo(peer)->mask, (float)pInfo(peer)->necklace); p.Insert((float)pInfo(peer)->skin); p.Insert((float)pInfo(peer)->ances, 0, 0); p.CreatePacket(peer); }