Just a small change in this CLEO

Status
Not open for further replies.

AgentJ

Member
Joined
Dec 5, 2019
Messages
12
Reaction score
0
Location
At home
Hello! This CLEO file is used to locate players, and requires SAMPFUNCS. Its commands are /find, /stopfind, and /myfind.

What I'd like is for the three commands to change to anything else (/dmg, /.find, etc.) or even better, instead of changing any command, make the CLEO toggle-able (on/off) by typing /setfind.

Thanks in advance!
 

Attachments

  • playerfinder.cs
    18.3 KB · Views: 13
Last edited:

Fr0z3n

Well-known member
Joined
Nov 20, 2019
Messages
294
Reaction score
36
Location
Srbija
Thats easy just download sanny builder and find samo reggistwr commands and there just change
 

Zin

Expert
Joined
Aug 1, 2013
Messages
1,690
Reaction score
103
Thats easy just download sanny builder and find samo reggistwr commands and there just change
He's made it quite awkward to recompile though and as a 2014 CLEO you might aswell redo the entire thing than try to fix it.

Luckily for you though I found this "ok" open source one on blasthk therefore you should be able to translate all the Russian and change whatever commands yourself. Also download Sampfuncs SDK for sannybuilder if you can't decompile/compile.
 

Attachments

  • FindPlayer.cs
    19.8 KB · Views: 6

AgentJ

Member
Joined
Dec 5, 2019
Messages
12
Reaction score
0
Location
At home
He's made it quite awkward to recompile though and as a 2014 CLEO you might aswell redo the entire thing than try to fix it.

Luckily for you though I found this "ok" open source one on blasthk therefore you should be able to translate all the Russian and change whatever commands yourself. Also download Sampfuncs SDK for sannybuilder if you can't decompile/compile.
Sorry but the cleo has some problems. It finds people less efficiently, as in the range is much much less than the one I linked.

Any help guys? Bump.
 

Ravenous

Active member
Joined
Jan 21, 2016
Messages
61
Reaction score
4
Sorry but the cleo has some problems. It finds people less efficiently, as in the range is much much less than the one I linked.

Any help guys? Bump.
Thats in your mind only, the range is the same, it's the stream range of samp which is about 200m
 

AgentJ

Member
Joined
Dec 5, 2019
Messages
12
Reaction score
0
Location
At home
Thats in your mind only, the range is the same, it's the stream range of samp which is about 200m
With my other cleo I could find people very far in the whole map, and it even displayed a blip on the interior door if they entered a shop/interior on the RP server. This one disappears as soon as they go 3 blocks away which is only inside the stream zone, so it's quite useless in comparison.
 
Last edited:

Ravenous

Active member
Joined
Jan 21, 2016
Messages
61
Reaction score
4
I don't know when that was but right now it's impossible to get player position if he is outside the stream zone.
 

_Safa

Well-known member
Joined
Sep 22, 2019
Messages
294
Reaction score
99
Location
UGBASE
-> Streamed players position are always available because peds / actors are created obviously for them.
-> Unstreamed players positions are only available if server has enabled ShowPlayerMarkers function with following param:
mode 1 PLAYER_MARKERS_MODE_GLOBAL
 

AgentJ

Member
Joined
Dec 5, 2019
Messages
12
Reaction score
0
Location
At home
-> Streamed players position are always available because peds / actors are created obviously for them.
-> Unstreamed players positions are only available if server has enabled ShowPlayerMarkers function with following param:
mode 1 PLAYER_MARKERS_MODE_GLOBAL
Well on this RP server I'm pretty sure that is enabled, as I am able to locate players very far away. The only thing I need is a change for the CLEO command or an on/off toggle so that it does not interfere with the server's own command.
 

Ravenous

Active member
Joined
Jan 21, 2016
Messages
61
Reaction score
4
ok, you were right, the cleo you posted had a function to get player position for streamed out players but it was impossible to edit because it was using some old format, anyway i made this for you, commands are /.find and /.stopfind, i hope it helps:
 

Attachments

  • finder.cs
    18.4 KB · Views: 12

AgentJ

Member
Joined
Dec 5, 2019
Messages
12
Reaction score
0
Location
At home
ok, you were right, the cleo you posted had a function to get player position for streamed out players but it was impossible to edit because it was using some old format, anyway i made this for you, commands are /.find and /.stopfind, i hope it helps:
Thanks so much!
 
Status
Not open for further replies.
Top