Advertisement
fastman92

_getModelIndexByName

Sep 13th, 2011
197
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.41 KB | None | 0 0
  1. {$CLEO}
  2. 0000: NOP
  3.  
  4. :sprintf
  5. wait 0
  6. if
  7. Key.TestCheatString("INDEX")
  8. else_jump @sprintf
  9. 0AC7: 0@ = var 0@ offset // pIndex
  10. 0AC6: 1@ = label @ModelName offset // ModelName
  11.  
  12. 0AA5: call _sprintf 0x004C5940 _getModelIndexByName num_params 2 pop 2 pIndex 0@ modelName 1@
  13.  
  14. 0AD1: show_formatted_text_highpriority "index: %d" time 2000 0@
  15. jump @sprintf
  16.  
  17. :ModelName
  18. hex
  19. "landstal" 00
  20. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement