Resource icon

CLEO Release [Release] Cnr Pack

CLEO related
Status
Not open for further replies.

prlanbrate

Active member
Joined
Dec 30, 2013
Messages
104
Reaction score
0
Re: Cnr Pack

Thanks a lot, man. I like this, very good work.
 

rottentwinkie

Moderator
Moderator
Joined
Apr 4, 2014
Messages
608
Reaction score
1
Re: Cnr Pack

This little thingy right here :
1- to arrest someone , taze cuff and arrest commands to nearest player

Do CrazyBobs server have some taze and cuff system?
 

NoJustNo

Active member
Joined
Jul 26, 2014
Messages
178
Reaction score
0
Re: Cnr Pack

Flamez link said:
This little thingy right here :
Do CrazyBobs server have some taze and cuff system?

im not sure , so thats why i made the tutorial about how to change commands casted ... so people can work with it easily in every server
And By The Way If Someone is compiling any of my scripts and have unknown directive "key_down" error then you need to search opcode list (you will find it yourself if u searched for it) and write key_pressed , copy it , and paste it instead of "key_down" and write the same number after it.
 

prlanbrate

Active member
Joined
Dec 30, 2013
Messages
104
Reaction score
0
Re: Cnr Pack

NoJustNo link said:
im not sure , so thats why i made the tutorial about how to change commands casted ... so people can work with it easily in every server
And By The Way If Someone is compiling any of my scripts and have unknown directive "key_down" error then you need to search opcode list (you will find it yourself if u searched for it) and write key_pressed , copy it , and paste it instead of "key_down" and write the same number after it.

http://prntscr.com/4jutnr
Again the SAME!!  :red_eyes:
 

Zin

Expert
Joined
Aug 1, 2013
Messages
1,690
Reaction score
103
Ok i go up to someone and press 1 it says "that player is not connected"
 

Rizkyw

Member
Joined
Nov 24, 2014
Messages
9
Reaction score
0
i tried this at SFCNR but why nothing happen when i press 1
help me please  :yesyes:
 

GidanDaniel

Active member
Joined
Feb 22, 2014
Messages
28
Reaction score
0
Didn't work :imoverit: I tried sampfuncs 2.3, 4.0, 5.1.1 still didn't work :table_flip:
 

Rizkyw

Member
Joined
Nov 24, 2014
Messages
9
Reaction score
0
GidanDaniel link said:
Didn't work :imoverit: I tried sampfuncs 2.3, 4.0, 5.1.1 still didn't work :table_flip:
yea it dont work i press 1 nothing happen  :imoverit:
 

rottentwinkie

Moderator
Moderator
Joined
Apr 4, 2014
Messages
608
Reaction score
1
Rizkyw link said:
yea it dont work i press 1 nothing happen  :imoverit:

It works when someone is nearby you.
If still not work, you may press "1" button on the numpad.
If still doesn't work, request magic middle finger by springfield.
 

Rizkyw

Member
Joined
Nov 24, 2014
Messages
9
Reaction score
0
Flamez link said:
It works when someone is nearby you.
If still not work, you may press "1" button on the numpad.
If still doesn't work, request magic middle finger by springfield.
I Have
-Cleo 4.3
-SF 5.1.1

not work help
 

Rizkyw

Member
Joined
Nov 24, 2014
Messages
9
Reaction score
0
Re: Cnr Pack

NoJustNo link said:
Hi Everybody . As I Promised . I'm  Making A Tutorial about How To Change The Commands That Will Be Casted.

So First . You Need To Decompile One Of My Cleos , If You Want It To Cast Three Commands , Decompile Complete Arrest , If You Want It To Cast 1 Command Then Use Rob , And If You Don't Want It To Stop You From Moving , Remove Stop Moving Commands And Waits. I Will Show You Down There ....


-----------------------------------------------------------------------------------------------------
                                          How To Change The Command That Is Casted
-----------------------------------------------------------------------------------------------------

So . This One Is Very Simple . All You Need To Do Is First , Decompile . Then Look For This Line :

Code:
0AF9: samp say_msg "/Command %d" 2@ 


Where It Says Command , You Can Write Whatever Command You Want , To Cast On The Nearest Player. Then Simply Decompile .
You're Done :)


-----------------------------------------------------------------------------------------------------
                                  How To Remove That The Cleo Stops You From Moving
-----------------------------------------------------------------------------------------------------

This Cleo For Example:
Code:
// This file was decompiled using SASCM.ini published by GTAG (http://gtag.gtagaming.com/opcode-database) on 14.6.2013
{$CLEO .cs}

//-------------MAIN---------------
thread "Taze" 

:Taze_8
wait 0 
if and
056D:   actor $PLAYER_ACTOR defined 
key_down 49 
else_jump @Taze_8 
0AB5: store_actor $PLAYER_ACTOR closest_vehicle_to 0@ closest_ped_to 1@ 
if 
056D:   actor 1@ defined 
else_jump @Taze_185 
2@ = SAMP.GetSAMPPlayerIDByActorHandle(1@)
Player.CanMove($PLAYER_CHAR) = False
wait 100 
0AF9: samp say_msg "/taze %d" 2@  
wait 1650 
Player.CanMove($PLAYER_CHAR) = True
wait 100 
Player.CanMove($PLAYER_CHAR) = False
0AF9: samp say_msg "/cuff %d" 2@  
wait 1450 
Player.CanMove($PLAYER_CHAR) = True
wait 100 
Player.CanMove($PLAYER_CHAR) = False
0AF9: samp say_msg "/arrest %d" 2@  
wait 0 
Player.CanMove($PLAYER_CHAR) = True

:Taze_185
wait 1000 
jump @Taze_8

You Need To Remove All These Lines:
Code:
wait 100 
Player.CanMove($PLAYER_CHAR) = False

And Don't Touch Anything Else In The Cleo , Unless You Know What You're Doing.
And Here Is An Example . I Removed All Those That Stop You From Moving .

Code:
// This file was decompiled using SASCM.ini published by GTAG (http://gtag.gtagaming.com/opcode-database) on 14.6.2013
{$CLEO .cs}

//-------------MAIN---------------
thread "Taze" 

:Taze_8
wait 0 
if and
056D:   actor $PLAYER_ACTOR defined 
key_down 49 
else_jump @Taze_8 
0AB5: store_actor $PLAYER_ACTOR closest_vehicle_to 0@ closest_ped_to 1@ 
if 
056D:   actor 1@ defined 
else_jump @Taze_185 
2@ = SAMP.GetSAMPPlayerIDByActorHandle(1@)
0AF9: samp say_msg "/taze %d" 2@  
wait 1650 
Player.CanMove($PLAYER_CHAR) = True
0AF9: samp say_msg "/cuff %d" 2@  
wait 1450 
Player.CanMove($PLAYER_CHAR) = True
0AF9: samp say_msg "/arrest %d" 2@  
wait 0 
Player.CanMove($PLAYER_CHAR) = True


:Taze_185
wait 1000 
jump @Taze_8





-----------------------------------------------------------------------------------------------------
                                                              For PrlanBrate.
-----------------------------------------------------------------------------------------------------


This Cleo Will Only Cuff Nearest Player (And If You Want To Remove That Waits Then You Know How):

Code:
// This file was decompiled using SASCM.ini published by GTAG ([url]http://gtag.gtagaming.com/opcode-database[/url]) on 14.6.2013
{$CLEO .cs}

//-------------MAIN---------------
thread "Rob" 

:Rob_7
wait 0 
if and
056D:   actor $PLAYER_ACTOR defined 
key_down 50 
else_jump @Rob_7 
0AB5: store_actor $PLAYER_ACTOR closest_vehicle_to 0@ closest_ped_to 1@ 
if 
056D:   actor 1@ defined 
else_jump @Rob_81 
2@ = SAMP.GetSAMPPlayerIDByActorHandle(1@)
Player.CanMove($PLAYER_CHAR) = True
wait 100
Player.CanMove($PLAYER_CHAR) = False
wait 0
0AF9: samp say_msg "/rob %d" 2@  
wait 0
Player.CanMove($PLAYER_CHAR) = True

:Rob_81
wait 2000 
goto @Rob_7





P.S.: If Someone is compiling any of my scripts and have unknown directive "key_down" error then you need to search opcode list (you will find it yourself if u searched for it) and write key_pressed , copy it , and paste it instead of "key_down" and write the same number after it.
IF you make this to V2 of hack CNR it's will be awesome  :urtheman:
 
Status
Not open for further replies.
Top