Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- _MemoryWrite(0x004DCEE0 , $wow, "0x909090909090", 'byte[6]') ;//Avoid Auto Overwrite
- _MemoryWrite(0x004DCECF , $wow, "0x909090909090", 'byte[6]') ;//Avoid Auto Overwrite
- while 1
- if GUICtrlRead($slider) <> GUICtrlRead($sliderlabel) Then GUICtrlSetData($sliderlabel, GUICtrlRead($slider)) ;//If the slider is moved we update the number.
- $msg = GUIGetMsg()
- Select
- Case $msg = $Apply
- if GUICtrlRead($FOG) = 1 Then
- _MemoryWrite(0x01079bac , $wow, GUICtrlRead($slider), 'float') ;//Ensure that the fog expands with the new view distance range.
- Else
- _MemoryWrite(0x01079bac , $wow, 9999, 'float') ;//Set Fog TO distance (can also be done by setting the "from" distance.
- EndIf
- _MemoryWrite(0x0109A448 , $wow, GUICtrlRead($slider), 'float') ;// Apply the new view distance
- Case $msg = $GUI_EVENT_CLOSE
- _MemoryWrite(0x004DCEE0 , $wow, "0xd91da89b0701", 'byte[6]') ;// Set Back to normal, leave no trace.
- _MemoryWrite(0x004DCECF , $wow, "0xd915ac9b0701", 'byte[6]') ;// Set Back to normal, leave no trace.
- Exit
- EndSelect
- sleep(10)
- WEnd
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement