Advertisement
Guest User

Untitled

a guest
Sep 22nd, 2017
46
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.48 KB | None | 0 0
  1. void Ref(int clientid)
  2. {
  3. MOB *player = (MOB*)GetMobFromIndex(clientid);
  4. int itenslot1 = GetFirstSlotSADD(clientid,3350,64);
  5. int addr_bclient = clientid * 0x0410;
  6. int cPeitoral = PInt(addr_bclient + 0x015C6A24);
  7. {
  8. PInt(addr_bclient + 0x015C6A24 +2) = 43;//Sanc
  9. PInt(addr_bclient + 0x015C6A24 +3) = 250;//Valor
  10. SendItens(clientid,3);
  11. player->Inventory[itenslot1].Index = 0;
  12. SendALL(clientid);
  13. SendClientMsg(clientid,"Adicionado Add no Peito.");
  14. }
  15. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement