Collection

Status
Not open for further replies.

0x_

Wtf I'm not new....
Staff member
Administrator
Joined
Feb 18, 2013
Messages
1,123
Reaction score
174
First of all, make sure you read the forum rules
Second, you're in the
CLEO section, don't request exe/dll or others files.

Copy/paste this simple form in a new reply and just fill it out.

Code:
* Name of the mod (if the mod doesn't exist, you don't have to tell one):
* Where you saw it (not the server, we mean if you saw any videos/screenshots about it or not):
* What do you want (the most important part, explain this carefully)
* Details (add more details to your request)
* On/off key (specify it):

The name should also be somehow related to the mod, so others that may look for the same thing find it easier.
Try your best to explain what you really want and need.
 
Last edited:
Voting on this suggestion has been paused.

mojonio

New member
Joined
Feb 24, 2020
Messages
4
Reaction score
0
Location
Russia
* Name of the mod : N/A
* Where you saw it : N/A
* What do you want: A text above the radar that says "CHEAT ON" when the activation key is pressed and that dissapears when it's deactivated when playing on a samp server.
* Details.
* On/off key (specify it): 9
 

ItsRobinson

Active member
Joined
Nov 16, 2017
Messages
105
Reaction score
20
PHP:
31@ = false //start cleo deactivated
30@ = Render.CreateFont("Arial", 12, 12)

while true
    wait 0
    if
        0AB0: key_pressed 57 //keycode for 9
    then
        0B12: 31@ = 31@ XOR 1       
    end    
    
    if 
        31@ == true
    then
        SAMP.GetScreenResolution(0@, 1@)
        0@ /= 50
        1@ = 500
        Render.DrawText(30@, "CHEAT ON", 0@, 1@, 0xFF00FF00)  
    end
end

Something like that, not tested it.
 

bluefacebaby

Member
Joined
Apr 20, 2020
Messages
15
Reaction score
0
Location
Canada
* Name of the mod (if the mod doesn't exist, you don't have to tell one): Block rolling animations to sides
* Where you saw it (not the server, we mean if you saw any videos/screenshots about it or not): No
* What do you want (the most important part, explain this carefully) Block rolling animations to sides
* Details (add more details to your request) -
* On/off key (specify it): automatic or f3
 

ItsRobinson

Active member
Joined
Nov 16, 2017
Messages
105
Reaction score
20
* Name of the mod (if the mod doesn't exist, you don't have to tell one): Block rolling animations to sides
* Where you saw it (not the server, we mean if you saw any videos/screenshots about it or not): No
* What do you want (the most important part, explain this carefully) Block rolling animations to sides
* Details (add more details to your request) -
* On/off key (specify it): automatic or f3
Please be more specfic of what you want. I don't understand what you mean.
 

Elka_Faded

Member
Joined
Jan 6, 2018
Messages
18
Reaction score
0
* Name of the mod (if the mod doesn't exist, you don't have to tell one): NameTag
* Where you saw it (not the server, we mean if you saw any videos/screenshots about it or not): On this web
* What do you want (the most important part, explain this carefully) uhm @Parazitas made nametag, but thats not really working properly idk why i tryed changing distance of nametag, but it's not working.
* Details (add more details to your request) I'am asking u to help increase range of this nametag, it could help a lot!
* On/off key (specify it): 9
 

Attachments

  • NameTag.cs
    19.9 KB · Views: 12

Fr0z3n

Well-known member
Joined
Nov 20, 2019
Messages
301
Reaction score
36
Location
Srbija
* Name of the mod : /
* Where you saw it : /
* What do you want: I want to take diferent zones from los santos and to take a different z coordinate in those zones and not to locate the object if it is in that particular zone below the z coordinate, more precisely in minus
* Details this is like snipet
* On/off key (specify it): /
 

ItsRobinson

Active member
Joined
Nov 16, 2017
Messages
105
Reaction score
20
* Name of the mod : /
* Where you saw it : /
* What do you want: I want to take diferent zones from los santos and to take a different z coordinate in those zones and not to locate the object if it is in that particular zone below the z coordinate, more precisely in minus
* Details this is like snipet
* On/off key (specify it): /
I can see you're really struggling with your whole object thing. What I would suggest is, make a cleo that will return all the objects coordinates, check to see if they are consistant or within a consistant range. If they are, simply filter out the one you don't want to track.
 

Fr0z3n

Well-known member
Joined
Nov 20, 2019
Messages
301
Reaction score
36
Location
Srbija
I can see you're really struggling with your whole object thing. What I would suggest is, make a cleo that will return all the objects coordinates, check to see if they are consistant or within a consistant range. If they are, simply filter out the one you don't want to track.
Objects Spawns random
 

Fr0z3n

Well-known member
Joined
Nov 20, 2019
Messages
301
Reaction score
36
Location
Srbija
wait i found something but it crash what did i do wrong?

Code:
065B: store_pickup 6@ position_to 7@ 8@ 9@
                            02CE: 16@ = ground_z_at 7@ 8@ 9@
                                if and
                                    16@ < 1 //this is for underground
                                    16@ > 30 //this is for objects above me
                                    then
                                 return 0 //if its true then do nothing
                                else
                                    if
                                        16@ > 1 //but if object is +1 z then do what i need
                                then
                                 .......
 

ItsRobinson

Active member
Joined
Nov 16, 2017
Messages
105
Reaction score
20
wait i found something but it crash what did i do wrong?

Code:
065B: store_pickup 6@ position_to 7@ 8@ 9@
                            02CE: 16@ = ground_z_at 7@ 8@ 9@
                                if and
                                    16@ < 1 //this is for underground
                                    16@ > 30 //this is for objects above me
                                    then
                                 return 0 //if its true then do nothing
                                else
                                    if
                                        16@ > 1 //but if object is +1 z then do what i need
                                then
                                 .......

For starters
02CE: will return a float, so you should be comparing it to a float value (i.e. 1.0, 30.0) not an integer value.
Secondly, if and means that it has to be less than 1 AND higher than 30, which is not possible.
Thirdly, you should change it so that inside your 'then' statement, it runs the code that you want, not just returning.

PHP:
065B: store_pickup 6@ position_to 7@ 8@ 9@
02CE: 16@ = ground_z_at 7@ 8@ 9@
if and //This in plain English: If it is not underground and not higher than 30.0
    16@ > 1.0 //this is for underground
    16@ < 30.0 //this is for objects above me
then
    //What you want to do with it
end
 

Zin

Expert
Joined
Aug 1, 2013
Messages
1,725
Solutions
2
Reaction score
113
For starters
02CE: will return a float, so you should be comparing it to a float value (i.e. 1.0, 30.0) not an integer value.
Secondly, if and means that it has to be less than 1 AND higher than 30, which is not possible.
Thirdly, you should change it so that inside your 'then' statement, it runs the code that you want, not just returning.

PHP:
065B: store_pickup 6@ position_to 7@ 8@ 9@
02CE: 16@ = ground_z_at 7@ 8@ 9@
if and //This in plain English: If it is not underground and not higher than 30.0
    16@ > 1.0 //this is for underground
    16@ < 30.0 //this is for objects above me
then
    //What you want to do with it
end
Even this isn't going to work for what he wants as some areas of the map will have a ground z of 30.0 and pretty much every area will have a ground z above 1.0 so he needs to check if the Z is between groundZ - 1 and groundZ + 30.
 
Status
Not open for further replies.
Top