CLEO Help Help Creating a cleo

CLEO related
Status
Not open for further replies.

Harrisonwells

Member
Joined
Jul 9, 2017
Messages
18
Reaction score
0
Code:
Code:
* Name of the mod (if the mod doesn't exist, you don't have to tell one): Sellgun.cs
* Where you saw it (not the server, we mean if you saw any videos/screenshots about it or not): i saw it in game and they dontwant to sahre it so... 
* What do you want (the most important part, explain this carefully) basically this is very useful for an rp server with this command [/sellgun] like when you right click a person then press b it would automatically type /sellgun [player id] ahotgun
* Details (add more details to your request) pl
* On/off key (specify it): right click + b


Details if i press right click to someone to a person and a yellow tag the cross one above your head then it would grab his id and automatically /sellgun[player id] shotgun


I cant post at celo req dont know why
 

HowEnCokkien

Well-known member
Joined
Jul 9, 2017
Messages
307
Reaction score
9
try this,  im not sure if it exist for cleo.

how to use it???
1-put the moonloader in your samp directory
2-put the lua file in moonloader folder
3-use /sellgun for gui... it will detect nearest ped id and sell guns to it.
4-PROFIT $$$


ugbase dont allow to upload lua file here so, download it from here http://www.mediafire.com/file/bgt9yfygzr9grjg/guimakegun.lua
 

Attachments

  • moonloader-022.zip
    889.9 KB · Views: 25

Harrisonwells

Member
Joined
Jul 9, 2017
Messages
18
Reaction score
0
HowEnCokkien said:
try this,  im not sure if it exist for cleo.

how to use it???
1-put the moonloader in your samp directory
2-put the lua file in moonloader folder
3-use /sellgun for gui... it will detect nearest ped id and sell guns to it.
4-PROFIT $$$


ugbase dont allow to upload lua file here so, download it from here http://www.mediafire.com/file/bgt9yfygzr9grjg/guimakegun.lua

I dont even know how to code but i am so sure that a cleo.cs will work since there is a Bg[Armor] like this one /guard [id] 200 it will automatically will type for u and grab their id
 

HowEnCokkien

Well-known member
Joined
Jul 9, 2017
Messages
307
Reaction score
9
Harrisonwells said:
HowEnCokkien said:
try this,  im not sure if it exist for cleo.

how to use it???
1-put the moonloader in your samp directory
2-put the lua file in moonloader folder
3-use /sellgun for gui... it will detect nearest ped id and sell guns to it.
4-PROFIT $$$


ugbase dont allow to upload lua file here so, download it from here http://www.mediafire.com/file/bgt9yfygzr9grjg/guimakegun.lua

I dont even know how to code but i am so sure that a cleo.cs will work since there is a Bg[Armor] like this one /guard [id] 200 it will automatically will type for u and grab their id
ofc it will work but i dont know any public hack near to you requested. well lets see if someone can help
 

Parazitas

God
Joined
Jan 2, 2017
Messages
3,133
Solutions
5
Reaction score
885
Location
Lithuania
Harrisonwells said:
Code:
Code:
* Name of the mod (if the mod doesn't exist, you don't have to tell one): Sellgun.cs
* Where you saw it (not the server, we mean if you saw any videos/screenshots about it or not): i saw it in game and they dontwant to sahre it so... 
* What do you want (the most important part, explain this carefully) basically this is very useful for an rp server with this command [/sellgun] like when you right click a person then press b it would automatically type /sellgun [player id] ahotgun
* Details (add more details to your request) pl
* On/off key (specify it): right click + b


Details if i press right click to someone to a person and a yellow tag the cross one above your head then it would grab his id and automatically /sellgun[player id] shotgun


I cant post at celo req dont know why




Request is closed...
But i can help you...

If i correctly understand you, here is code.:
[shcode=cpp]
{$CLEO .cs}
0000:


REPEAT
    WAIT 0
UNTIL 0AFA:  SAMP_IS_READY 

WHILE TRUE
    WAIT 0 
        
    IF AND
    key_down  2 {Right Mouse}
    key_down 66 {B Key}
    THEN
        IF 0AD2: 0@ = player $PLAYER_CHAR targeted_actor
        THEN
            0B2B: samp 1@ = get_player_id_by_actor_handle 0@
            say "/sellgun %d" 1@
            wait 2000 /// Anti spam
        END
    END
    
END   /// END WHILE TRUE
[/shcode]
 

Harrisonwells

Member
Joined
Jul 9, 2017
Messages
18
Reaction score
0
Parazitas said:
Harrisonwells said:
Code:
Code:
* Name of the mod (if the mod doesn't exist, you don't have to tell one): Sellgun.cs
* Where you saw it (not the server, we mean if you saw any videos/screenshots about it or not): i saw it in game and they dontwant to sahre it so... 
* What do you want (the most important part, explain this carefully) basically this is very useful for an rp server with this command [/sellgun] like when you right click a person then press b it would automatically type /sellgun [player id] ahotgun
* Details (add more details to your request) pl
* On/off key (specify it): right click + b


Details if i press right click to someone to a person and a yellow tag the cross one above your head then it would grab his id and automatically /sellgun[player id] shotgun


I cant post at celo req dont know why




Request is closed...
But i can help you...

If i correctly understand you, here is code.:
[shcode=cpp]
{$CLEO .cs}
0000:


REPEAT
    WAIT 0
UNTIL 0AFA:  SAMP_IS_READY 

WHILE TRUE
    WAIT 0 
        
    IF AND
    key_down  2 {Right Mouse}
    key_down 66 {B Key}
    THEN
        IF 0AD2: 0@ = player $PLAYER_CHAR targeted_actor
        THEN
            0B2B: samp 1@ = get_player_id_by_actor_handle 0@
            say "/sellgun %d" 1@
            wait 2000 /// Anti spam
        END
    END
    
END   /// END WHILE TRUE
[/shcode]

i am getting this Unknown directive key_down 2 and where  can i learn how to code and stuffs?


 

Parazitas

God
Joined
Jan 2, 2017
Messages
3,133
Solutions
5
Reaction score
885
Location
Lithuania
Harrisonwells said:
Parazitas said:
Harrisonwells said:
Code:
Code:
* Name of the mod (if the mod doesn't exist, you don't have to tell one): Sellgun.cs
* Where you saw it (not the server, we mean if you saw any videos/screenshots about it or not): i saw it in game and they dontwant to sahre it so... 
* What do you want (the most important part, explain this carefully) basically this is very useful for an rp server with this command [/sellgun] like when you right click a person then press b it would automatically type /sellgun [player id] ahotgun
* Details (add more details to your request) pl
* On/off key (specify it): right click + b


Details if i press right click to someone to a person and a yellow tag the cross one above your head then it would grab his id and automatically /sellgun[player id] shotgun


I cant post at celo req dont know why




Request is closed...
But i can help you...

If i correctly understand you, here is code.:
[shcode=cpp]
{$CLEO .cs}
0000:


REPEAT
    WAIT 0
UNTIL 0AFA:  SAMP_IS_READY 

WHILE TRUE
    WAIT 0 
        
    IF AND
    key_down  2 {Right Mouse}
    key_down 66 {B Key}
    THEN
        IF 0AD2: 0@ = player $PLAYER_CHAR targeted_actor
        THEN
            0B2B: samp 1@ = get_player_id_by_actor_handle 0@
            say "/sellgun %d" 1@
            wait 2000 /// Anti spam
        END
    END
    
END   /// END WHILE TRUE
[/shcode]

i am getting this Unknown directive key_down 2 and where  can i learn how to code and stuffs?








This website best for learn something..
 

Attachments

  • SellGun.cs
    17.7 KB · Views: 25

Harrisonwells

Member
Joined
Jul 9, 2017
Messages
18
Reaction score
0
Parazitas said:
Harrisonwells said:
Parazitas said:
Harrisonwells said:
Code:
Code:
* Name of the mod (if the mod doesn't exist, you don't have to tell one): Sellgun.cs
* Where you saw it (not the server, we mean if you saw any videos/screenshots about it or not): i saw it in game and they dontwant to sahre it so... 
* What do you want (the most important part, explain this carefully) basically this is very useful for an rp server with this command [/sellgun] like when you right click a person then press b it would automatically type /sellgun [player id] ahotgun
* Details (add more details to your request) pl
* On/off key (specify it): right click + b


Details if i press right click to someone to a person and a yellow tag the cross one above your head then it would grab his id and automatically /sellgun[player id] shotgun


I cant post at celo req dont know why




Request is closed...
But i can help you...

If i correctly understand you, here is code.:
[shcode=cpp]
{$CLEO .cs}
0000:


REPEAT
    WAIT 0
UNTIL 0AFA:  SAMP_IS_READY 

WHILE TRUE
    WAIT 0 
        
    IF AND
    key_down  2 {Right Mouse}
    key_down 66 {B Key}
    THEN
        IF 0AD2: 0@ = player $PLAYER_CHAR targeted_actor
        THEN
            0B2B: samp 1@ = get_player_id_by_actor_handle 0@
            say "/sellgun %d" 1@
            wait 2000 /// Anti spam
        END
    END
    
END   /// END WHILE TRUE
[/shcode]

i am getting this Unknown directive key_down 2 and where  can i learn how to code and stuffs?








This website best for learn something..




Thanks i just need to add samp funcs thats why i can't compile it..
 
Status
Not open for further replies.
Top