Advertisement
Guest User

Untitled

a guest
Sep 23rd, 2017
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.56 KB | None | 0 0
  1. void GemaEstrelar(int clientid)
  2. {
  3. MOB *player = (MOB*)GetMobFromIndex(clientid);
  4. int addr_bclient = clientid * 0x0410;
  5. int itenslot = GetFirstSlotSADD(clientid,700,64);
  6. int cGemaX = PInt(addr_bclient + 0x15C69D8);
  7. int cGemaY = PInt(addr_bclient + 0x15C69DA);
  8. int cGemaX2 = 4000;
  9. int cGemaY2 = 4000;
  10. {
  11. PInt(addr_bclient + 0x15C69D8) = cGemaX2;
  12. PInt(addr_bclient + 0x15C69DA) = cGemaY2;
  13.  
  14. else
  15. {
  16. SaveChar(1,clientid);
  17. SendClientMsg(clientid,"Posiçao foi salva.");
  18. player->Inventory[itenslot].Index = 0;
  19. SendALL(clientid);
  20. }
  21. }
  22. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement