CLEO Help how can i change reload key in this codes?

CLEO related
Status
Not open for further replies.

mulfucer

Active member
Joined
Feb 27, 2016
Messages
27
Reaction score
1
I don't quite understand how to code CLEO. In Junior_Dijr's Echance ParticleTXD mode, it is necessary to write "EPTXD" to re-read the .ini file, but I want to change it to "EPXD". I did this with the help of Sanny Builder but when recompiling the codes I get an error Unknown directive test_cheat" EPXD ".

//--- Main loop

while true
wait 0
if PatchParticleTXD == true
then gosub @RandomizeTextures
end

if ResponsiveCoronas == true
then gosub @ResponsiveCoronas
end

if test_cheat "EPTXD" // I want to change it to EPXD
then
gosub @ReadINI
0ACD: show_text_highpriority "~y~Enhance ParticleTXD reloaded." time 2000
end
end

//--- End of main loop
 

_Safa

Well-known member
Joined
Sep 22, 2019
Messages
297
Reaction score
103
Location
UGBASE
Because you are not using the opcode and just write "test_cheat" standalone.

Change if test_cheat "EPTXD" to 0ADC: test_cheat "EPXD".
 
Status
Not open for further replies.
Top