killer18191 said:
Parazitas said:
killer18191 said:
Parazitas said:
[shcode=cpp]
{$CLEO}
0000:
wait 10000
while true
wait 0
0B2B: samp 1@ = get_player_id_by_actor_handle $PLAYER_ACTOR
0226: 2@ = actor 1@ health
IF
2@ <= 10 // HP
THEN
02AB: set_actor $PLAYER_ACTOR immunities BP 1 FP 1 EP 1 CP 1 MP 1
0A8C: write_memory 0x004B331F size 6 value 0x909090909090 virtual_protect 1
ELSE
02AB: set_actor $PLAYER_ACTOR immunities BP 0 FP 0 EP 0 CP 0 MP 0
0@ = 0x00000089
0A8C: write_memory 0x004B331F size 1 value 0@ virtual_protect 1
0@ = 0x00000096
0A8C: write_memory 0x004B3320 size 1 value 0@ virtual_protect 1
0@ = 0x00000040
0A8C: write_memory 0x004B3321 size 1 value 0@ virtual_protect 1
0@ = 0x00000005
0A8C: write_memory 0x004B3322 size 1 value 0@ virtual_protect 1
0@ = 0x00000000
0A8C: write_memory 0x004B3323 size 1 value 0@ virtual_protect 1
0@ = 0x00000000
0A8C: write_memory 0x004B3324 size 1 value 0@ virtual_protect 1
END
END
[/shcode]
when it is starting crashing. Crash sample: https://www.youtube.com/watch?v=G7tHoBBGesQ :sadpepe:
Server: s2.fenixzone.com:7777
I have cleo 4.3, sampfuncs 5.3.3 and moonloader 0.26
Put in your cleo anti crasher.cs
http://www.mediafire.com/file/t2edgzjjrp2yld5/Anti-Crasher+For+SAMP+0.3.7.zip
now this happens to me: https://www.youtube.com/watch?v=ZazHY4q6_Yk
[shcode=cpp]
{$CLEO .cs}
0000:
wait 10000
WHILE TRUE
wait 0
IF
0B61: samp is_local_player_spawned
THEN
0B2B: samp 1@ = get_player_id_by_actor_handle $PLAYER_ACTOR
0226: 2@ = actor 1@ health
IF
2@ <= 10 // HP
THEN
02AB: set_actor $PLAYER_ACTOR immunities BP 1 FP 1 EP 1 CP 1 MP 1
0A8C: write_memory 0x004B331F size 6 value 0x909090909090 virtual_protect 1
ELSE
02AB: set_actor $PLAYER_ACTOR immunities BP 0 FP 0 EP 0 CP 0 MP 0
0@ = 0x00000089
0A8C: write_memory 0x004B331F size 1 value 0@ virtual_protect 1
0@ = 0x00000096
0A8C: write_memory 0x004B3320 size 1 value 0@ virtual_protect 1
0@ = 0x00000040
0A8C: write_memory 0x004B3321 size 1 value 0@ virtual_protect 1
0@ = 0x00000005
0A8C: write_memory 0x004B3322 size 1 value 0@ virtual_protect 1
0@ = 0x00000000
0A8C: write_memory 0x004B3323 size 1 value 0@ virtual_protect 1
0@ = 0x00000000
0A8C: write_memory 0x004B3324 size 1 value 0@ virtual_protect 1
END
END
END
[/shcode]
ChillDog said:
1. Name of the mod (if the mod doesn't exist, you don't have to tell one): autobackpack
2. Where you saw it (not the server, we mean if you saw any videos/screenshots about it or not): i never saw this.
3. What do you want (the most important part, explain this carefully): Easy, i want a cleo mod that put /backpack automatically when: spawn and when i enter into a vehicle (bike, car, all)
4. Details (add more details to your request): just that.
5. Need On/off key or command ?: /backpack to enable/disable the autobackpack
6. Give any picture or video: -
7. Your client is?: 0.3.7
[shcode=cpp]
{$CLEO .cs}
0000:
wait 10000
WHILE TRUE
wait 0
IF
0ADC: test_cheat "backpack"
THEN
IF
0@ == FALSE
THEN
0@ = TRUE
ELSE
0@ = FALSE
END
wait 1337 // anti spam turn on / turn off
END
IF
056D: actor $PLAYER_ACTOR defined
THEN
IF AND
0@ == TRUE
00DF: actor $PLAYER_ACTOR driving
THEN
wait 1000
say "/backpack"
repeat
wait 0
until 044B: actor $PLAYER_ACTOR on_foot
END
END
END
[/shcode]