[Cleo request] Cleo ID Keybinder

Status
Not open for further replies.

coaa420

Member
Joined
Sep 7, 2016
Messages
7
Reaction score
0
Name of the mod (if the mod doesn't exist, you don't have to tell one): Cleo keybinder that detects nearest player ID
Where you saw it (not the server, we mean if you saw any videos/screenshots about it or not): http://ugbase.eu/Thread-Cleo-pack-for-Cnr-Servers ,but there wasn't provided any editable script nor anything, just a finished cleo file that works only with cleo 4.1(I need for 4.3).
What do you want (the most important part, explain this carefully): A cleo script that automatically detect nearest player ID and writes into the samp chat along with specified command. E.g: When I press button "R", it should write "/search (Nearest player ID)"
Details (add more details to your request): I need a script so I can edit the keys and other
On/off key (specify it): Not necessary
 

Schinko

Active member
Joined
Mar 5, 2013
Messages
187
Reaction score
1
RE: Cleo keybinder

Need cleo binder where I can put my own commands in a ini file. (like AutoCmdSenderv2.0 by opcode, but his doesn't work anymore)

please @Mr.Christmas @springfield or anyone who can do such cleo
 

Schinko

Active member
Joined
Mar 5, 2013
Messages
187
Reaction score
1
RE: Cleo keybinder

holaholagetdollas said:
Here is  SA:MP Keybinder: http://www.gtagarage.com/mods/show.php?id=21662

I know such keybinders, but I don't want a bullshit external programm to start. I want a cleo that loads automaticly with the game.
 

coaa420

Member
Joined
Sep 7, 2016
Messages
7
Reaction score
0
RE: Cleo keybinder

holaholagetdollas said:
Here is SA:MP Keybinder: http://www.gtagarage.com/mods/show.php?id=21662

You didn't understand me well, I need a cleo script that will automatically detect nearest player ID and then write command in samp dialog. That one doesn't do that.
 

iAnthony

Moderator
Moderator
Joined
Nov 15, 2013
Messages
590
Reaction score
3
RE: Cleo keybinder

Schinko said:
holaholagetdollas said:
Here is  SA:MP Keybinder: http://www.gtagarage.com/mods/show.php?id=21662

I know such keybinders, but I don't want a bullshit external programm to start. I want a cleo that loads automaticly with the game.

well you could download one of those taze binds and change /taze to /search  :not bad:
quite easy but im not on my pc right now
 

Schinko

Active member
Joined
Mar 5, 2013
Messages
187
Reaction score
1
RE: Cleo keybinder

iAnthony said:
Schinko said:
holaholagetdollas said:
Here is  SA:MP Keybinder: http://www.gtagarage.com/mods/show.php?id=21662

I know such keybinders, but I don't want a bullshit external programm to start. I want a cleo that loads automaticly with the game.

well you could download one of those taze binds and change /taze to /search  :not bad:
quite easy but im not on my pc right now

Guess you quoted the wrong post, lol
But yea, I made once a cleo like that, where I put all commands in the .cs file, but I'm too lazy atm and a cleo with ini file would be a little easier
 

coaa420

Member
Joined
Sep 7, 2016
Messages
7
Reaction score
0
RE: Cleo keybinder

iAnthony said:
well you could download one of those taze binds and change /taze to /search  :not bad:
quite easy but im not on my pc right now

It doesn't work, it crashes my game, i have sampfuncs, you said it's for cleo 4.1 only
 

Schinko

Active member
Joined
Mar 5, 2013
Messages
187
Reaction score
1
RE: Cleo keybinder

Nvm, I did it already the old way. Got all commands in the cleo file

coaa420 said:
iAnthony said:
well you could download one of those taze binds and change /taze to /search
quite easy but im not on my pc right now

It doesn't work, it crashes my game, i have sampfuncs, you said it's for cleo 4.1 only

Did you put the sdk files from sampfuncs into the sanny builder data folder?
 

coaa420

Member
Joined
Sep 7, 2016
Messages
7
Reaction score
0
RE: Cleo keybinder

Schinko said:
Nvm, I did it already the old way. Got all commands in the cleo file

coaa420 said:
iAnthony said:
well you could download one of those taze binds and change /taze to /search
quite easy but im not on my pc right now

It doesn't work, it crashes my game, i have sampfuncs, you said it's for cleo 4.1 only

Did you put the sdk files from sampfuncs into the sanny builder data folder?

I've copied everything from SB Data folder into Sanny Builder 3\data\sa
 

coaa420

Member
Joined
Sep 7, 2016
Messages
7
Reaction score
0
RE: Cleo keybinder

Schinko said:
Need cleo binder where I can put my own commands in a ini file. (like AutoCmdSenderv2.0 by opcode, but his doesn't work anymore)

please @Mr.Christmas @springfield or anyone who can do such cleo

@Schinko

It does not have an .ini file but its not that hard to use, here you go:

Change the "(INSERT VIRTUAL CODE HERE)" to your key code >>  Virtual key codes
Change "(COMMAND)" to the command you want.


You may create unlimted keybinds, just duplicate the following code to script;

Code:
if
key_down (INSERT VIRTUAL KEY CODE HERE)
then
0AF9: samp say_msg "/(COMMAND)"
wait 500
end

Script:

Code:
{$CLEO .cs}
0000:

while true
wait 0

if
key_down (INSERT VIRTUAL KEY CODE HERE)
then
0AF9: samp say_msg "/(COMMAND)"
wait 500
end

if
key_down (INSERT VIRTUAL KEY CODE HERE)
then
0AF9: samp say_msg "/(COMMAND)"
wait 500
end

if
key_down (INSERT VIRTUAL KEY CODE HERE)
then
0AF9: samp say_msg "/(COMMAND)"
wait 500
end

if
key_down (INSERT VIRTUAL KEY CODE HERE)
then
0AF9: samp say_msg "/(COMMAND)"
wait 500
end

end
 
Status
Not open for further replies.
Top