!
Welcome to GTA Mods Mania
Join us now to access all of our features. Once you join us, you can make any topic to talk in this forum, give the reputation of a fellow member, design your profile, and much more. If you already have an account, Login here. If don't create one, here.
Color Switch Mod (CLEO)
4 posters
Page 2 of 2
Page 2 of 2 • 1, 2
Re: Color Switch Mod (CLEO)
I have already given you the idea in my last post,
now make it & show me what you have wrote in cleo to do that,
your next post must contain the code or the probe,
waiting...
now make it & show me what you have wrote in cleo to do that,
your next post must contain the code or the probe,
waiting...
Ashwin- Modders
- Posts : 30
Join date : 2012-12-03
Re: Color Switch Mod (CLEO)
Ok then Mr Ashwin train me like that i will really appreciate making cleo scripts for you that idea and i will come up with the script by tomorrow..
<-- merged post--> TheGodfather
Alright Mr Ashwin here goes my Script.
Note: i dont know about what values there should be in the opcode 02D4 that part ($7257,2i) what is 2i and what is $7257 for. If i knew i would have given proper values to them.. and i don't know 1 ms means how much.. :)
<-- merged post--> TheGodfather
Alright Mr Ashwin here goes my Script.
- Code:
:NONE
wait 0 ms
if
00DF: actor $PLAYER_ACTOR driving
jf @NONE
03C0: $2197 = actor $PLAYER_ACTOR car
jump @NONE_1
:NONE_1
wait 0 ms
if
01C1: car $2197 stopped
jf @NONE_1
wait 5000 ms
02D4: car $2197($7257,2i) turn_off_engine
jump @NONE
Note: i dont know about what values there should be in the opcode 02D4 that part ($7257,2i) what is 2i and what is $7257 for. If i knew i would have given proper values to them.. and i don't know 1 ms means how much.. :)
TheSpookyMan- Moderators
- Posts : 649
Join date : 2012-12-03
Age : 30
Location : Somewhere on Earth
Re: Color Switch Mod (CLEO)
Two things,
post script normally,
CODE is not visible to me,
try to make the script for VC,
Cuz VC is the only game i found im my laptop,
as PC is not working,
now,
if the script is doing the task i have given to you,
then I'll give you another idea but little harder this time,
of not then tell me the problem
post script normally,
CODE is not visible to me,
try to make the script for VC,
Cuz VC is the only game i found im my laptop,
as PC is not working,
now,
if the script is doing the task i have given to you,
then I'll give you another idea but little harder this time,
of not then tell me the problem
Ashwin- Modders
- Posts : 30
Join date : 2012-12-03
Re: Color Switch Mod (CLEO)
:NONE
wait 0 ms
if
00DF: actor $PLAYER_ACTOR driving
jf @NONE
03C0: $2197 = actor $PLAYER_ACTOR car
jump @NONE_1
:NONE_1
wait 0 ms
if
01C1: car $2197 stopped
jf @NONE_1
wait 5000 ms
02D4: car $2197($7257,2i) turn_off_engine
jump @NONE
Here goes the script and this is for GTA SA... Atleast tell if its correct? :D
wait 0 ms
if
00DF: actor $PLAYER_ACTOR driving
jf @NONE
03C0: $2197 = actor $PLAYER_ACTOR car
jump @NONE_1
:NONE_1
wait 0 ms
if
01C1: car $2197 stopped
jf @NONE_1
wait 5000 ms
02D4: car $2197($7257,2i) turn_off_engine
jump @NONE
Here goes the script and this is for GTA SA... Atleast tell if its correct? :D
TheSpookyMan- Moderators
- Posts : 649
Join date : 2012-12-03
Age : 30
Location : Somewhere on Earth
Re: Color Switch Mod (CLEO)
What Admin told you about editing old post !
script will not crash but it will not perform the given task also,
lets start from the beginning,
# label should be named,
for example,
trigger, initial, etc.
# try to minimize the use of global variables,
use local variables for Small thread and CLEO scripts,
# no need to use jump opcode to jump to the next line,
now the main problem,
what will happen if car stoped and then move before 5 seconds,
the script will still turn off its engine after 5 seconds,
so, you need to keep checking the car movement for five seconds,
its time to use Timers,
the last two local variables are timers,
which means, their value will increase by one after every millisecond,
so, by using the timers,
the second part of your script should be something like this,
lets use @17 (VC), IDK that for SA, find it yourself.
:trigger
wait 0 ms
if
00DF: actor $PLAYER_ACTOR driving
jf @trigger
03C0: 0@ = actor $PLAYER_ACTOR car
17@ = 0
:check
wait 0 ms
if
01C1: car 0@ stopped
jf @end
if
17@ >= 5000
jf @check
02D4: car 0@ turn_off_engine
:end
car.removereference(0@)
wait 0
jump @trigger
the script is still not perfect but fine, (kaam chalau)
its not tested, i have just copied your text and edited it,
i am not sure if opcodes are VC compatible,
Now read and test the script and tell me if there us something that you didn't understand or if script is not working,
another thing,
don't upload or export any of the script that you gonna learn here,
as im on mobile, i am not sure about spell of opcodes,
and next time, show script for VC, so that i can test it!
script will not crash but it will not perform the given task also,
lets start from the beginning,
# label should be named,
for example,
trigger, initial, etc.
# try to minimize the use of global variables,
use local variables for Small thread and CLEO scripts,
# no need to use jump opcode to jump to the next line,
now the main problem,
what will happen if car stoped and then move before 5 seconds,
the script will still turn off its engine after 5 seconds,
so, you need to keep checking the car movement for five seconds,
its time to use Timers,
the last two local variables are timers,
which means, their value will increase by one after every millisecond,
so, by using the timers,
the second part of your script should be something like this,
lets use @17 (VC), IDK that for SA, find it yourself.
:trigger
wait 0 ms
if
00DF: actor $PLAYER_ACTOR driving
jf @trigger
03C0: 0@ = actor $PLAYER_ACTOR car
17@ = 0
:check
wait 0 ms
if
01C1: car 0@ stopped
jf @end
if
17@ >= 5000
jf @check
02D4: car 0@ turn_off_engine
:end
car.removereference(0@)
wait 0
jump @trigger
the script is still not perfect but fine, (kaam chalau)
its not tested, i have just copied your text and edited it,
i am not sure if opcodes are VC compatible,
Now read and test the script and tell me if there us something that you didn't understand or if script is not working,
another thing,
don't upload or export any of the script that you gonna learn here,
as im on mobile, i am not sure about spell of opcodes,
and next time, show script for VC, so that i can test it!
Ashwin- Modders
- Posts : 30
Join date : 2012-12-03
Re: Color Switch Mod (CLEO)
I haven't checked your script but still you deserve REP+ Ashwin for such a helping attitude towards members buddy.
Re: Color Switch Mod (CLEO)
Yeah i also think he should be given REP + but i ve decided to make a new thread named "Cleo Training Centre" a thread where newbies will be evolved into professionals since this topic is getting offtopic. So i request Admin to grant me that permission.. Please reply Admin. :D
:Note why is Ashwin's REP -1??
:Note why is Ashwin's REP -1??
TheSpookyMan- Moderators
- Posts : 649
Join date : 2012-12-03
Age : 30
Location : Somewhere on Earth
Re: Color Switch Mod (CLEO)
I have implemented such feature on my website,
Tuitions - for those who want to learn something from others,
i deserve that rep -1
bcuz after posting, i noticed a silly mistake in it,
@admin
edit post option is not available in mobile version of the website,
do something about it,
Tuitions - for those who want to learn something from others,
i deserve that rep -1
bcuz after posting, i noticed a silly mistake in it,
@admin
edit post option is not available in mobile version of the website,
do something about it,
Ashwin- Modders
- Posts : 30
Join date : 2012-12-03
Re: Color Switch Mod (CLEO)
TheSpookyMan wrote:Yeah i also think he should be given REP + but i ve decided to make a new thread named "Cleo Training Centre" a thread where newbies will be evolved into professionals since this topic is getting offtopic. So i request Admin to grant me that permission.. Please reply Admin. :D
:Note why is Ashwin's REP -1??
Sure you are allowed to create it mate
And it's a bit strange why he got REP- I will fix it up.It must be a bug
Re: Color Switch Mod (CLEO)
Ashwin wrote:# try to minimize the use of global variables,
use local variables for Small thread and CLEO scripts,
# no need to use jump opcode to jump to the next line,
Lastly i will say that Mr Ashwin i also know that we should not use Global variables in Cleo scripts only local variables. The only global variables to be used in Cleo scripts are $PLAYER_CHAR, $PLAYER_ACTOR and $ONMISSION. i have gone through ZAZ's Cleo tutorial from GTA forums and Mission Coding for Dummies by Dutchy of GTA forums. But still i could never update my skills. Hopefully i may now if you and the admin helps me..:D
TheSpookyMan- Moderators
- Posts : 649
Join date : 2012-12-03
Age : 30
Location : Somewhere on Earth
Re: Color Switch Mod (CLEO)
Dimak kharab yogya mera,
dus minute tak likha, post kiya to connection faild,
sorry, main vo sab dobara nahi likunga,
so, in short,
spooky,
stop talking about hope or thanks,
this is what i call off topic,
@global vars,
use them only when you need to pass any value or handle to any other thread or script,
@script
is the script is working good ?
did you figure out the mistake i was talking about ?
@progress
did you get the timer thing correctly ?
do you find the local var of timer for SA ?
Ready for next task ?
dus minute tak likha, post kiya to connection faild,
sorry, main vo sab dobara nahi likunga,
so, in short,
spooky,
stop talking about hope or thanks,
this is what i call off topic,
@global vars,
use them only when you need to pass any value or handle to any other thread or script,
@script
is the script is working good ?
did you figure out the mistake i was talking about ?
@progress
did you get the timer thing correctly ?
do you find the local var of timer for SA ?
Ready for next task ?
Ashwin- Modders
- Posts : 30
Join date : 2012-12-03
Re: Color Switch Mod (CLEO)
Not yet! i am not ready ask me about that in my newly constructed thread name Cleo Training Centre.
TheSpookyMan- Moderators
- Posts : 649
Join date : 2012-12-03
Age : 30
Location : Somewhere on Earth
Re: Color Switch Mod (CLEO)
my exams are running,
today physics exam is ****ed up,
do you think i have time to go there and ask you again ?
you are not looking serious,
and now i think i am just wasting my time with you,
do you even look at what i have posted?
i try to explain you as much as i could in my long posts,
and what i see in reply is
just a off topic thing,
every time.
i have already ask the admin to use this topic for that purpose,
today physics exam is ****ed up,
do you think i have time to go there and ask you again ?
you are not looking serious,
and now i think i am just wasting my time with you,
do you even look at what i have posted?
i try to explain you as much as i could in my long posts,
and what i see in reply is
just a off topic thing,
every time.
i have already ask the admin to use this topic for that purpose,
Ashwin- Modders
- Posts : 30
Join date : 2012-12-03
Re: Color Switch Mod (CLEO)
Yes i have gone through whatever you said and i have made the script there accordingly. This is Mod Showroom not Modding Discussion and i don't think anyone has to prolong this topic. And you are talking about time. Well how much time does it take to click a button not even a second..If you want to help this way then sorry i cannot negotiate with you further.
You don't need to ask anything cause i have given the answer to what you've asked me further if you want to ask, ask there..
You don't need to ask anything cause i have given the answer to what you've asked me further if you want to ask, ask there..
TheSpookyMan- Moderators
- Posts : 649
Join date : 2012-12-03
Age : 30
Location : Somewhere on Earth
Re: Color Switch Mod (CLEO)
This kind of attitude won't help you spooky
Now better take your chat to the [You must be registered and logged in to see this link.]
Ashwin is trying to help you so cooperate with him
@Ashwin: I have rep+ you ;)ffor your help towards others.
Try to complete what Ashwin told you spooky.
No more off-topic or the topic would be closed.
No need to reply.
Re: Color Switch Mod (CLEO)
Thegodfather wrote:This kind of attitude won't help you spooky
Now better take your chat to the [You must be registered and logged in to see this link.]
Ashwin is trying to help you so cooperate with him
@Ashwin: I have rep+ you ;)ffor your help towards others.
Try to complete what Ashwin told you spooky.
No more off-topic or the topic would be closed.
No need to reply.
Admin you named this section Mod Showroom and that Ashwin is using it as a Modding Discussion(Are you SO blind that you can't even see that this is against the forum rules). I am not wrong here Admin you are wrong.
@Ashwin Everything here is off topic except for my Mod. I also don't care what exams you have given the fact is that you are in a forums and you will have to act according to its rules and regulations..
Also Do you remember my topic "Very Interesting : Must READ" in GTA Forums. you locked it(means Had it Locked) ,Why? because it was against the rules and Regulations of GTA Forums and what you are doing here now is against the rules and regulations of this site. The Admin may be a fool to realize this but i am not. You can say i am taking Revenge for that topic in GTA F..
Last edited by TheSpookyMan on Mon Jul 01, 2013 2:54 pm; edited 1 time in total (Reason for editing : To avoid Double Posting!)
TheSpookyMan- Moderators
- Posts : 649
Join date : 2012-12-03
Age : 30
Location : Somewhere on Earth
Page 2 of 2 • 1, 2
Similar topics
» Color Changing
» Font Color Change
» GTA SanAndreas Color changer
» RIOT MOD[CLEO]
» LAND MINES MOD CLEO
» Font Color Change
» GTA SanAndreas Color changer
» RIOT MOD[CLEO]
» LAND MINES MOD CLEO
Page 2 of 2
Permissions in this forum:
You cannot reply to topics in this forum
Tue Nov 04, 2014 12:37 am by Mora Hannover
» Goodbye guys
Sun Jun 15, 2014 3:45 pm by Inspiron
» REQUEST MOD THREAD
Wed Jan 29, 2014 12:16 pm by TheSpookyMan
» Grand Theft Auto V 1.09 Patch Notes
Sat Jan 18, 2014 9:49 pm by TheGodfather
» MODDING GARAGE
Tue Jan 14, 2014 2:08 pm by TheGodfather