You are not logged in.
Pages: 1
Hello, I am new to CLEO Scripting and working on my first project. What I need now is how can you Mark a ped you're aiming at? How can you get them as a variable? Please help me, this is important to my project and to me. Thank you
Offline
There is a CLEO Script on GTAGarage name Mark and Execute. How can I mark the ped just like it, I have tried to open it but can't, don't know why
Offline
Try this one
http://sannybuilder.com/forums/viewtopic.php?id=45
it's a mod allowed to catch the ped you're aiming at.
http://cleo.sannybuilder.com/scripts/dbmu.rar
this code gets a target ped into variable
0@ = 300694 0085: 0@ = &0(0@,1i) inc(0@, 0x79C) 0A8D: 0@ = read_memory 0@ size 4 virtual_protect 0 if 0@ > 0 then // 0@ contains a ped struct address // to convert it to a simple handle use CLEO4's opcode 0AEA: $actor = actor_struct $ped_struct handle 0AEA: 0@ = 0@ 0321: kill_actor 0@ end
Offline
Thank you, thank you. Finally
Offline
Damm it, I still not so understand that. Please explain to me, thank you
Offline
That CLEO script is for CLEO 3
Offline
CLEO 4
script shows a red marker above targeted actor
{$CLEO .cs} :targeted_actor thread 'targact' :targact_11 wait 0 if Player.Defined($PLAYER_CHAR) jf @targact_11 if 0AD2: 30@ = player $PLAYER_CHAR targeted_actor //IF and SET jf @targact_302 if and 00DF: actor 30@ driving 847A: not actor 30@ driving_a_motorbike jf @targact_171 0321: kill_actor 30@ wait 0 jump @targact_302 :targact_171 13@ = Marker.CreateAboveActor(30@) :targact_180 wait 0 if Player.Defined($PLAYER_CHAR) jf @targact_185 if and 8118: not actor 30@ dead 0457: player $PLAYER_CHAR aiming_at_actor 30@ jf @targact_185 jump @targact_180 :targact_185 Marker.Disable(13@) Actor.RemoveReferences(30@) jump @targact_11 :targact_302 jump @targact_11
Offline
Pages: 1