#1 Re: GTA Modding » Exporting variables from CLEO script » 06-01-2014 07:41

Just do this:

Actor.StorePos($PLAYER_ACTOR, 0@, 1@, 2@)
0AF3: write_float 1@ to_ini_file "cleo\config.ini" section "DATA" key "X"
0AF3: write_float 2@ to_ini_file "cleo\config.ini" section "DATA" key "Y"
0AF3: write_float 3@ to_ini_file "cleo\config.ini" section "DATA" key "Z"

Write your positions into a .ini file.
Then tell your program to read that file.

Why do that hard thing when you can do it easly?

#2 Re: GTA Modding » How to lock script » 06-01-2014 07:37

Download NotePad ++,
Open your CLEO.cs mod with it,
Then place "#" somewhere in the text and save it.
Now when you open your CLEO.cs file with SannyBuilder - it will freeze.

Board footer

Powered by FluxBB