A useless cleo, but might be useful when you want to make videos and don't want to show the other player's nametag/hp.
Description:
Removes the player's nametag/hp
Commands:
/dnt - removes the player's nametag
/dhp - removes the player's health bar
Source Code: (Probably not the best code)...
My first cleo, don't hate.... :kidding:
Description:
What this cleo does is mainly just repair, flip/repair, add nitro, and NOP SetEngine State.
Usage:
/ms - Nothing special
Note:
Need SampFuncs, and of course cleo.
Video:
Compiled version attached
{$CLEO .cs}
0000: NOP
repeat
wait 300
until 0AFA: is_samp_available
0B34: samp register_client_command "vdestroy" to_label @vdestroy
while true
wait 0
end
:vdestroy
wait 0
if
00DF: actor $PLAYER_ACTOR driving
then
1@ =...
Try this, the compiled version is at the bottom.
{$CLEO}
{$INCLUDE SF}
0000:
:Load
wait 30
if
SAMP.Available
else_jump @Load
0BE3: raknet setup_incoming_rpc_hook @in_rpc
while true
wait 0
if and
8B21: not samp is_chat_opened
0AB0: key_pressed 80 //P key
then
...
Is it possible to disable incoming bullet data from certain a player? If so, how can I go about doing it.
:in_pckt
if
0@ == 1
then
0BE5: raknet 10@ = get_hook_param PARAM_PACKETID
if
10@ == 206 //Bullet data
then
0BE0: raknet hook_ret false
end
...
The list items start at 0, so the first item's id will be 0. What you wanted to select was 6, but that wasn't the "Server Closed Connection" problem, the problem was sending a response to the dialog twice.
This should work now.
{$CLEO .cs}
0000: NOP
:Load
wait 30
if
SAMP.Available...
A useless cleo, but might be useful when you want to make videos and don't want to show the other player's nametag/hp.
Description:
Removes the player's nametag/hp
Commands:
/dnt - removes the player's nametag
/dhp - removes the player's health bar
Source Code: (Probably not the best code)...
Here you go.
{$CLEO}
0000:
repeat
wait 0
until samp.Available()
while true
wait 0
if
0AB0: key_pressed 48
then
0AC6: 0@ = label @Main offset
0B3B: samp show_dialog id 0 caption "DIALOG NAME" text 0@ button_1 "Select" button_2 "Close" style 2
end
if
0B3C: samp...
I managed to show the text, I just separated it into many formats. (I'm bad at explaining, sorry :P) Anyways, below is the fixed example code.
{$CLEO}
0000:
:Load
wait 200
if SAMP.Available
else_jump @Load
0B34: samp register_client_command "stoop" to_label @blah
While true
wait 0...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.