Guest User

Change City

a guest
May 6th, 2023
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 0.70 KB | Source Code | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <CheatTable>
  3.   <CheatEntries>
  4.     <CheatEntry>
  5.       <ID>23771</ID>
  6.       <Description>"Change City"</Description>
  7.       <LastState/>
  8.       <Color>DCDCDC</Color>
  9.       <VariableType>Auto Assembler Script</VariableType>
  10.       <AssemblerScript>{$lua}
  11. if syntaxcheck then return end
  12. [ENABLE]
  13. local function _func()
  14.   local addr = readQword('ptrClub')
  15.   if addr == nil or addr == 0 then return end
  16.  
  17.   local club_city = getAddressSafe(addr+cluo.Ccty)
  18.   if club_city == nil or club_city == 0 then return end
  19.  
  20.   changeCity(club_city)
  21. end
  22. _func()
  23. enableAutoDisable(memrec, nil)
  24. [DISABLE]
  25. </AssemblerScript>
  26.     </CheatEntry>
  27.   </CheatEntries>
  28. </CheatTable>
  29.  
Advertisement
Add Comment
Please, Sign In to add comment