Put AHK into CLEO

Dwayne

Well-Known Member
Joined
Jun 4, 2014
Messages
119
Likes
0
Points
16
10
#1
Anyone can help me put AHK into CLEO
ON/OFF: Any key
Pls!
Thank

Code:
!`::
SendInput t/getmats{enter}
sleep 20000
sendinput t/pcp{enter}
sleep 50
sendinput t/plpos 3{enter}
sleep 50
SendInput t/getmats{enter}
sleep 20000
sendinput t/pcp{enter}
sleep 50
sendinput t/plpos 3{enter}
sleep 50
sendinput t/getmats{enter}
sleep 20000
t/pcp{enter}
return
 

Parazitas

Well-Known Member
Joined
Jan 2, 2017
Messages
699
Likes
5
Points
23
Location
Lithuania
Website
ugbase.eu
#2
Like that?

Code:
{$CLEO .cs}
0000:
thread "Get Mats"
0B34: samp register_client_command "mats" to_label @cmd
[email protected] = 0

/// wait 1000 - 1 seconds


//////

:MAIN       
wait 0
if
[email protected] == 1
then
wait 100  /// You can change time        
0AF9: samp say_msg "/getmats"
end

if
[email protected] == 1
then
wait 20000  /// Pause before moving on to the next
end

///////
if
[email protected] == 1
then
wait 100  /// You can change time     
0AF9: samp say_msg "/pcp"
end

if
[email protected] == 1
then
wait 50  /// Pause before moving on to the next
end

///////
if
[email protected] == 1
then
wait 100  /// You can change time     
0AF9: samp say_msg "/plpos 3"
end

if
[email protected] == 1
then
wait 50  /// Pause before moving on to the next
end

///////
if
[email protected] == 1
then
wait 100  /// You can change time     
0AF9: samp say_msg "/getmats"
end

if
[email protected] == 1
then
wait 20000  /// Pause before moving on to the next
end

///////
if
[email protected] == 1
then
wait 100  /// You can change time     
0AF9: samp say_msg "/pcp"
end

if
[email protected] == 1
then
wait 50  /// Pause before moving on to the next
end

///////
if
[email protected] == 1
then
wait 100  /// You can change time     
0AF9: samp say_msg "/plpos 3"
end

if
[email protected] == 1
then
wait 50  /// Pause before moving on to the next
end
///////
if
[email protected] == 1
then
wait 100  /// You can change time     
0AF9: samp say_msg "/getmats"
end

if
[email protected] == 1
then
wait 20000  /// Pause before moving on to the next
end

///////
if
[email protected] == 1
then
wait 50  /// Pause before moving on to the next
end

SAMP.CmdRet()
jump @MAIN       

:CMD
wait 0
if
056D:   actor $PLAYER_ACTOR defined
then
0B12: [email protected] = [email protected] XOR 1
if
[email protected] == 1
then
0ACD: show_text_highpriority "Auto Get Mats: ~g~ON~w~" time 1500
else
0ACD: show_text_highpriority "Auto Get Mats: ~r~OFF~w~" time 1500
end
end
SAMP.CmdRet()
jump @MAIN
 
OP
OP
D

Dwayne

Well-Known Member
Joined
Jun 4, 2014
Messages
119
Likes
0
Points
16
10
#3
Parazitas said:
Like that?

Code:
{$CLEO .cs}
0000:
thread "Get Mats"
0B34: samp register_client_command "mats" to_label @cmd
[email protected] = 0

/// wait 1000 - 1 seconds


//////

:MAIN       
wait 0
if
[email protected] == 1
then
wait 100  /// You can change time        
0AF9: samp say_msg "/getmats"
end

if
[email protected] == 1
then
wait 20000  /// Pause before moving on to the next
end

///////
if
[email protected] == 1
then
wait 100  /// You can change time     
0AF9: samp say_msg "/pcp"
end

if
[email protected] == 1
then
wait 50  /// Pause before moving on to the next
end

///////
if
[email protected] == 1
then
wait 100  /// You can change time     
0AF9: samp say_msg "/plpos 3"
end

if
[email protected] == 1
then
wait 50  /// Pause before moving on to the next
end

///////
if
[email protected] == 1
then
wait 100  /// You can change time     
0AF9: samp say_msg "/getmats"
end

if
[email protected] == 1
then
wait 20000  /// Pause before moving on to the next
end

///////
if
[email protected] == 1
then
wait 100  /// You can change time     
0AF9: samp say_msg "/pcp"
end

if
[email protected] == 1
then
wait 50  /// Pause before moving on to the next
end

///////
if
[email protected] == 1
then
wait 100  /// You can change time     
0AF9: samp say_msg "/plpos 3"
end

if
[email protected] == 1
then
wait 50  /// Pause before moving on to the next
end
///////
if
[email protected] == 1
then
wait 100  /// You can change time     
0AF9: samp say_msg "/getmats"
end

if
[email protected] == 1
then
wait 20000  /// Pause before moving on to the next
end

///////
if
[email protected] == 1
then
wait 50  /// Pause before moving on to the next
end

SAMP.CmdRet()
jump @MAIN       

:CMD
wait 0
if
056D:   actor $PLAYER_ACTOR defined
then
0B12: [email protected] = [email protected] XOR 1
if
[email protected] == 1
then
0ACD: show_text_highpriority "Auto Get Mats: ~g~ON~w~" time 1500
else
0ACD: show_text_highpriority "Auto Get Mats: ~r~OFF~w~" time 1500
end
end
SAMP.CmdRet()
jump @MAIN
Love u
But i don't know add sb data in my sanny builder
Error, can u help me this?
Pls
http://imgur.com/TmvvygX
 

Parazitas

Well-Known Member
Joined
Jan 2, 2017
Messages
699
Likes
5
Points
23
Location
Lithuania
Website
ugbase.eu
#4
Explane .:
1. Go to http://ugbase.eu/Thread-ASI-SAMPFUNCS-5-3-0-3-7
2. Download.: sf_5_3_3_sdk.zip
3. Then open.: sf_5_3_3_sdk.zip
4. Then you see SB data
5. Next go to ....\Sanny Builder 3\data\sa
6. All files of SB data put and replace in to folder ....\Sanny Builder 3\data\sa.
7. Finished.

Good luck.
 
OP
OP
D

Dwayne

Well-Known Member
Joined
Jun 4, 2014
Messages
119
Likes
0
Points
16
10
#5
Parazitas said:
Explane .:
1. Go to http://ugbase.eu/Thread-ASI-SAMPFUNCS-5-3-0-3-7
2. Download.:   sf_5_3_3_sdk.zip
3. Then open.:   sf_5_3_3_sdk.zip
4. Then you see  SB data
5.  Next go to ....\Sanny Builder 3\data\sa
6. All files of SB data put and replace in to folder ....\Sanny Builder 3\data\sa.
7. Finished.

Good luck.
It work. Thanks you very much. You are my angel :yesyes:
 
OP
OP
D

Dwayne

Well-Known Member
Joined
Jun 4, 2014
Messages
119
Likes
0
Points
16
10
#6
Parazitas said:
Like that?

Code:
{$CLEO .cs}
0000:
thread "Get Mats"
0B34: samp register_client_command "mats" to_label @cmd
[email protected] = 0

/// wait 1000 - 1 seconds


//////

:MAIN       
wait 0
if
[email protected] == 1
then
wait 100  /// You can change time        
0AF9: samp say_msg "/getmats"
end

if
[email protected] == 1
then
wait 20000  /// Pause before moving on to the next
end

///////
if
[email protected] == 1
then
wait 100  /// You can change time     
0AF9: samp say_msg "/pcp"
end

if
[email protected] == 1
then
wait 50  /// Pause before moving on to the next
end

///////
if
[email protected] == 1
then
wait 100  /// You can change time     
0AF9: samp say_msg "/plpos 3"
end

if
[email protected] == 1
then
wait 50  /// Pause before moving on to the next
end

///////
if
[email protected] == 1
then
wait 100  /// You can change time     
0AF9: samp say_msg "/getmats"
end

if
[email protected] == 1
then
wait 20000  /// Pause before moving on to the next
end

///////
if
[email protected] == 1
then
wait 100  /// You can change time     
0AF9: samp say_msg "/pcp"
end

if
[email protected] == 1
then
wait 50  /// Pause before moving on to the next
end

///////
if
[email protected] == 1
then
wait 100  /// You can change time     
0AF9: samp say_msg "/plpos 3"
end

if
[email protected] == 1
then
wait 50  /// Pause before moving on to the next
end
///////
if
[email protected] == 1
then
wait 100  /// You can change time     
0AF9: samp say_msg "/getmats"
end

if
[email protected] == 1
then
wait 20000  /// Pause before moving on to the next
end

///////
if
[email protected] == 1
then
wait 50  /// Pause before moving on to the next
end

SAMP.CmdRet()
jump @MAIN       

:CMD
wait 0
if
056D:   actor $PLAYER_ACTOR defined
then
0B12: [email protected] = [email protected] XOR 1
if
[email protected] == 1
then
0ACD: show_text_highpriority "Auto Get Mats: ~g~ON~w~" time 1500
else
0ACD: show_text_highpriority "Auto Get Mats: ~r~OFF~w~" time 1500
end
end
SAMP.CmdRet()
jump @MAIN
why it not working when i type MATS?
 

Parazitas

Well-Known Member
Joined
Jan 2, 2017
Messages
699
Likes
5
Points
23
Location
Lithuania
Website
ugbase.eu
#7
Dwayne said:
Parazitas said:
Like that?

Code:
{$CLEO .cs}
0000:
thread "Get Mats"
0B34: samp register_client_command "mats" to_label @cmd
[email protected] = 0

/// wait 1000 - 1 seconds


//////

:MAIN       
wait 0
if
[email protected] == 1
then
wait 100  /// You can change time        
0AF9: samp say_msg "/getmats"
end

if
[email protected] == 1
then
wait 20000  /// Pause before moving on to the next
end

///////
if
[email protected] == 1
then
wait 100  /// You can change time     
0AF9: samp say_msg "/pcp"
end

if
[email protected] == 1
then
wait 50  /// Pause before moving on to the next
end

///////
if
[email protected] == 1
then
wait 100  /// You can change time     
0AF9: samp say_msg "/plpos 3"
end

if
[email protected] == 1
then
wait 50  /// Pause before moving on to the next
end

///////
if
[email protected] == 1
then
wait 100  /// You can change time     
0AF9: samp say_msg "/getmats"
end

if
[email protected] == 1
then
wait 20000  /// Pause before moving on to the next
end

///////
if
[email protected] == 1
then
wait 100  /// You can change time     
0AF9: samp say_msg "/pcp"
end

if
[email protected] == 1
then
wait 50  /// Pause before moving on to the next
end

///////
if
[email protected] == 1
then
wait 100  /// You can change time     
0AF9: samp say_msg "/plpos 3"
end

if
[email protected] == 1
then
wait 50  /// Pause before moving on to the next
end
///////
if
[email protected] == 1
then
wait 100  /// You can change time     
0AF9: samp say_msg "/getmats"
end

if
[email protected] == 1
then
wait 20000  /// Pause before moving on to the next
end

///////
if
[email protected] == 1
then
wait 50  /// Pause before moving on to the next
end

SAMP.CmdRet()
jump @MAIN       

:CMD
wait 0
if
056D:   actor $PLAYER_ACTOR defined
then
0B12: [email protected] = [email protected] XOR 1
if
[email protected] == 1
then
0ACD: show_text_highpriority "Auto Get Mats: ~g~ON~w~" time 1500
else
0ACD: show_text_highpriority "Auto Get Mats: ~r~OFF~w~" time 1500
end
end
SAMP.CmdRet()
jump @MAIN
why it not working when i type MATS?
Do u have SAMPFUNCS ?
 
OP
OP
D

Dwayne

Well-Known Member
Joined
Jun 4, 2014
Messages
119
Likes
0
Points
16
10
#8
Parazitas said:
Dwayne said:
Parazitas said:
Like that?

Code:
{$CLEO .cs}
0000:
thread "Get Mats"
0B34: samp register_client_command "mats" to_label @cmd
[email protected] = 0

/// wait 1000 - 1 seconds


//////

:MAIN       
wait 0
if
[email protected] == 1
then
wait 100  /// You can change time        
0AF9: samp say_msg "/getmats"
end

if
[email protected] == 1
then
wait 20000  /// Pause before moving on to the next
end

///////
if
[email protected] == 1
then
wait 100  /// You can change time     
0AF9: samp say_msg "/pcp"
end

if
[email protected] == 1
then
wait 50  /// Pause before moving on to the next
end

///////
if
[email protected] == 1
then
wait 100  /// You can change time     
0AF9: samp say_msg "/plpos 3"
end

if
[email protected] == 1
then
wait 50  /// Pause before moving on to the next
end

///////
if
[email protected] == 1
then
wait 100  /// You can change time     
0AF9: samp say_msg "/getmats"
end

if
[email protected] == 1
then
wait 20000  /// Pause before moving on to the next
end

///////
if
[email protected] == 1
then
wait 100  /// You can change time     
0AF9: samp say_msg "/pcp"
end

if
[email protected] == 1
then
wait 50  /// Pause before moving on to the next
end

///////
if
[email protected] == 1
then
wait 100  /// You can change time     
0AF9: samp say_msg "/plpos 3"
end

if
[email protected] == 1
then
wait 50  /// Pause before moving on to the next
end
///////
if
[email protected] == 1
then
wait 100  /// You can change time     
0AF9: samp say_msg "/getmats"
end

if
[email protected] == 1
then
wait 20000  /// Pause before moving on to the next
end

///////
if
[email protected] == 1
then
wait 50  /// Pause before moving on to the next
end

SAMP.CmdRet()
jump @MAIN       

:CMD
wait 0
if
056D:   actor $PLAYER_ACTOR defined
then
0B12: [email protected] = [email protected] XOR 1
if
[email protected] == 1
then
0ACD: show_text_highpriority "Auto Get Mats: ~g~ON~w~" time 1500
else
0ACD: show_text_highpriority "Auto Get Mats: ~r~OFF~w~" time 1500
end
end
SAMP.CmdRet()
jump @MAIN
why it not working when i type MATS?
Do u have SAMPFUNCS ?
Yes,of course
 
Top