Resource icon

CLEO Release anti-pedfall.cs | Ped-fall proof [like in N3X](no fall anim + collision godmode)

CLEO related
Status
Not open for further replies.

x7F8

Member
Joined
Jul 31, 2014
Messages
21
Reaction score
2
You must have SAMPFuncs

Activation:
Type 'FALL' in-game.

Source-code:
Code:
{$CLEO}

0000: binHAX Production

31@ = 0

:1
wait 0
if
0ADC: "FALL"
then
    if
    31@ == 0
    then
        31@ = 1
        print "Anti ped-fall on~n~~g~by binHAX" 2000
    else
        31@ = 0
        print "Anti ped-fall off~n~~g~by binHAX" 2000
        02AB: set_actor $PLAYER_ACTOR immunities BP 0 FP 0 EP 0 CP 0 MP 0
    end
end
jump @2

:2
wait 0
if
31@ == 1
then
    0B2B: samp 1@ = get_player_id_by_actor_handle $PLAYER_ACTOR
    0B57: samp 2@ = player 1@ animation_id
    
    if
    0818:  actor $PLAYER_ACTOR in_air
    then
        02AB: set_actor $PLAYER_ACTOR immunities BP 0 FP 0 EP 0 CP 1 MP 0
    else
        if or
        0039: 2@ == 1133
        0039: 2@ == 1129
        0039: 2@ == 1208
        then
            0AFD: samp set_special_action 8
            0AFD: samp set_special_action 0
        end
        02AB: set_actor $PLAYER_ACTOR immunities BP 0 FP 0 EP 0 CP 0 MP 0
    end
    
end
jump @1

Update:
Code:
{$CLEO}

0000: binHAX Production

31@ = 0
32@ = 0

:1
wait 0
if
0ADC: "FALL"
then
    if
    31@ == 0
    then
        31@ = 1
        print "Anti ped-fall on~n~~g~by binHAX" 2000
    else
        31@ = 0
        print "Anti ped-fall off~n~~g~by binHAX" 2000
        02AB: set_actor $PLAYER_ACTOR immunities BP 0 FP 0 EP 0 CP 0 MP 0
    end
end
jump @2

:2
wait 0
if
31@ == 1
then
    0B2B: samp 1@ = get_player_id_by_actor_handle $PLAYER_ACTOR
    0B57: samp 2@ = player 1@ animation_id
    
    if
    0818:  actor $PLAYER_ACTOR in_air
    then
        32@ = 1
        02AB: set_actor $PLAYER_ACTOR immunities BP 0 FP 0 EP 0 CP 1 MP 0
    else
        if or
        0039: 2@ == 1133
        0039: 2@ == 1129
        0039: 2@ == 1208
        then
            0AFD: samp set_special_action 8
            0AFD: samp set_special_action 0
        end
        if
        32@ == 1
        then
            wait 100
            02AB: set_actor $PLAYER_ACTOR immunities BP 0 FP 0 EP 0 CP 0 MP 0
        end
    end
    
end
jump @1

Download at attachment.
 

Attachments

  • pedfall.cs
    18.4 KB · Views: 150
  • pedfall_v2.cs
    18.5 KB · Views: 438

DzkAy

Well-known member
Joined
Feb 20, 2014
Messages
472
Reaction score
1
Wow , this is nice shit ! Good job bro .
 

DzkAy

Well-known member
Joined
Feb 20, 2014
Messages
472
Reaction score
1
beatc link said:
yea shit is nice
Why yo no eat shit ?  :yuno:
U said Shit is nice.  :celeral_spitting:
 

beatc

Active member
Joined
Jul 6, 2014
Messages
87
Reaction score
0
D.Kay link said:
[quote author=beatc link=topic=9029.msg52636#msg52636 date=1407286926]
yea shit is nice
Why yo no eat shit ?  :yuno:
U said Shit is nice.  :celeral_spitting:
[/quote]

yea nice shit
 

rottentwinkie

Moderator
Moderator
Joined
Apr 4, 2014
Messages
608
Reaction score
3
beatc link said:
[quote author=D.Kay link=topic=9029.msg52637#msg52637 date=1407287025]
[quote author=beatc link=topic=9029.msg52636#msg52636 date=1407286926]
yea shit is nice
Why yo no eat shit ?  :yuno:
U said Shit is nice.  :celeral_spitting:
[/quote]

yea nice shit
[/quote]

y u don't get sick after being eating an shit?  :dont_care:
 

x7F8

Member
Joined
Jul 31, 2014
Messages
21
Reaction score
2
Thank you all - I made an updated version, as the last one bugs if you fall at higher speed simultaneously.
 

x7F8

Member
Joined
Jul 31, 2014
Messages
21
Reaction score
2
Search on google, SAMPFuncs 3.2.
blast-hack.ru - the one made by FYP
 
Status
Not open for further replies.
Top