Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void tibiaClient::PrintItem(int nSurface, int X, int Y, int nSize, int itemId, int count, bool CountTextVisible)
- {
- DWORD original = Consts::DrawItem;
- if (!CountTextVisible)
- {
- __asm
- {
- PUSH 0
- PUSH 0
- PUSH 0
- PUSH 0
- PUSH 0
- }
- }
- else
- {
- __asm
- {
- PUSH 1
- PUSH 2
- PUSH 225
- PUSH 225
- PUSH 225
- }
- }
- __asm
- {
- PUSH 2
- PUSH nSize
- PUSH nSize
- PUSH Y
- PUSH X
- PUSH 0
- PUSH 0
- PUSH 0
- PUSH 0
- PUSH count
- PUSH itemId
- PUSH Y
- PUSH X
- PUSH nSurface
- MOV ECX, nSize
- CALL original
- }
- }
Add Comment
Please, Sign In to add comment