Advertisement
Guest User

Headshot effect

a guest
Aug 25th, 2012
204
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.87 KB | None | 0 0
  1. {$CLEO .cs}
  2. 0AC6: 2@ = label @__asm offset
  3. 0A8E: 3@ = 2@ + 3
  4. 0AC7: 1@ = var 0@ offset
  5. 0A8C: write_memory 3@ size 4 value 1@ virtual_protect 0
  6. 0A8C: write_memory 0x5F0140 size 1 value 0xE9 virtual_protect 1
  7. 2@ -= 0x5F0145
  8. 0A8C: write_memory 0x5F0141 size 4 value 2@ virtual_protect 1
  9. 0AC7: 1@ = var 2@ offset
  10. while true
  11. wait 0
  12. if
  13. 0@ <> 0
  14. then
  15. 0AA6: call_method 0x5E4280 struct 0@ num_params 3 pop 0 1 6 1@
  16. 064B: 5@ = create_particle "headshot" at 2@ 3@ 4@ type 1
  17. 064C: make_particle 5@ visible_and_remove_references
  18. 0@ = 0
  19. end
  20. end
  21.  
  22. :__asm
  23. hex
  24. 8B C1 // mov eax, ecx
  25. A3 00 00 00 00 // mov dword ptr ds:[00000000], eax
  26. 53 // push ebx
  27. 8B 5C 24 08 // mov ebx, [esp+arg_0]
  28. B8 45 01 5F 00 // mov eax, 005F0145h
  29. FF E0 // jmp eax
  30. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement