Advertisement
mysourcedestiny

[Source] Barra de Prata(1Bi)

Apr 16th, 2011
201
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.80 KB | None | 0 0
  1. case 138: // ID do volatile
  2. {
  3. if (PLong(addr_bclient + 0x015C69D0) > 1000000000)
  4. {
  5. SendClientMessage(clientid, "Limite de gold no inventário é de 2.000.000.000 Bilhões.");
  6. int i ;
  7. for(i = 0; i < 63 ;i++)
  8. {
  9. int id = *(short*)((clientid * 0x410) + 0x15C6A94 + (i * 8));
  10. if(id == 0)
  11. {
  12. *(short*)((clientid * 0x410) + 0x15C6A94 + (i * 8)) = 4011;
  13. SendInv(clientid,1,i,((clientid * 0x410) + 0x15C6A94 + (i * 8)));
  14. break;
  15. }
  16. }
  17. }else
  18. {
  19. PLong(addr_bclient + 0x015C69D0) += 1000000000;
  20. SendStats(clientid);
  21. break;
  22. }break;
  23. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement