Hello everyone, just to make it clear I am a complete noob when it comes to coding so sorry for my illness.
So I found a cleo mod, basically it runs a check for a specific nearby object(Deagle) everytime I activate the cheat. I also have an .INI config file linked to the cleo mod so I already figured out how to change the object key to whatever I want (E.G make it find shotguns instead of deagles).
What I want to do is this - I want to make it so it won't only scan for deagles (ID 384) but shotguns too (ID 385), and later on the rest of the weapons I wish to add. I was really running up on google for straight 4 hours with no luck, I couldn't figure out how to make it scan multiple object ids at once rather than only 1 ID.
Cleo Code:
INI Code:
My question: How do I make it so the variable '19@' will get more results off the key "OBJECT_ID" (E.G - instead of scanning object ID 348 around me, it will scan object ID 348 and object 349 simultaneously). I've seen something about using short/long string in the variable (E.G '4@v') instead of "Object_id", but yet, I really don't know what that means or how I use that.
Thank you helpers!
So I found a cleo mod, basically it runs a check for a specific nearby object(Deagle) everytime I activate the cheat. I also have an .INI config file linked to the cleo mod so I already figured out how to change the object key to whatever I want (E.G make it find shotguns instead of deagles).
What I want to do is this - I want to make it so it won't only scan for deagles (ID 384) but shotguns too (ID 385), and later on the rest of the weapons I wish to add. I was really running up on google for straight 4 hours with no luck, I couldn't figure out how to make it scan multiple object ids at once rather than only 1 ID.
Cleo Code:
Code:
0AF0: 19@ = get_int_from_ini_file "CLEO\MOSH_CONFIGURATION.INI" section "SETTINGS" key "OBJECT_ID"
INI Code:
Code:
[SETTINGS]
OBJECT_ID=348
My question: How do I make it so the variable '19@' will get more results off the key "OBJECT_ID" (E.G - instead of scanning object ID 348 around me, it will scan object ID 348 and object 349 simultaneously). I've seen something about using short/long string in the variable (E.G '4@v') instead of "Object_id", but yet, I really don't know what that means or how I use that.
Thank you helpers!