CLEO Help How to remove objects from other players?

CLEO related
Status
Not open for further replies.

pepeelpubero

Well-known member
Joined
Jan 21, 2014
Messages
433
Reaction score
1
Is there anyway to remove objects from other players with a cleo and how to create an explosion without damage?

Can anyone help me with the script please?
 

xzytro

God
Joined
Apr 1, 2013
Messages
2,294
Reaction score
7
Is there anyway to remove objects from other players with a cleo
Which object ? Is that object in server ? Or is it something client sided like sprunk guard ?

how to create an explosion without damage?
You should use explosion particle.

For list of particles, check this :
http://www.gtamodding.com/index.php?title=Particle_(SA)
7oLQF.png



For the code,

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 "NAME"
0662: NOP "XZYTRO SAYS HI" 
0662: NOP "FROM UGBASE.EU" 

:MAIN
wait 0
if
0ADC:   test_cheat "BLOWUP"
else_jump @MAIN
04C4: store_coords_to $playerposx $playerposy $playerposz from_actor $PLAYER_ACTOR with_offset 0.0 0.0 0.0
064B: $particle = create_particle "explosion_small" at $playerposx $playerposy $playerposz type 4
064F: make_temp_particle_visible_and_remove_references $particle
wait 500
jump @MAIN
 

pepeelpubero

Well-known member
Joined
Jan 21, 2014
Messages
433
Reaction score
1
xzytro link said:
Is there anyway to remove objects from other players with a cleo
Which object ? Is that object in server ? Or is it something client sided like sprunk guard ?

Both. I have the id of objects.

how to create an explosion without damage?
You should use explosion particle.

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 "NAME"
0662: NOP "XZYTRO SAYS HI" 
0662: NOP "FROM UGBASE.EU" 

:MAIN
wait 0
if
0ADC:   test_cheat "BLOWUP"
else_jump @MAIN
04C4: store_coords_to $playerposx $playerposy $playerposz from_actor $PLAYER_ACTOR with_offset 0.0 0.0 0.0
064B: $particle = create_particle "explosion_small" at $playerposx $playerposy $playerposz type 4
064F: make_temp_particle_visible_and_remove_references $particle
wait 500
jump @MAIN

And how to activate?
 

xzytro

God
Joined
Apr 1, 2013
Messages
2,294
Reaction score
7
xzytro link said:
Is there anyway to remove objects from other players with a cleo
Which object ? Is that object in server ? Or is it something client sided like sprunk guard ?

Both. I have the id of objects.
[/quote]
You can not remove the client sided object like sprunk guard, but you can remove the server object from your screen.
 

pepeelpubero

Well-known member
Joined
Jan 21, 2014
Messages
433
Reaction score
1
xzytro link said:
You can not remove the client sided object like sprunk guard, but you can remove the server object from your screen.

Ok but is there anyway to "disable" sprunk guard?


The cleo "blowup" works fine. Thanks.

To make it with damage i need to remove "064F: make_temp_particle_visible_and_remove_references $particle" or what?
 

xzytro

God
Joined
Apr 1, 2013
Messages
2,294
Reaction score
7
pepeelpubero link said:
Ok but is there anyway to "disable" sprunk guard?
No there isn't.

pepeelpubero link said:
To make it with damage i need to remove "064F: make_temp_particle_visible_and_remove_references $particle" or what?
If you remove 064F then the particle will not be visible. To make it with damage you need to use a different opcode; like 020C:, 0948:, or 0565:.
 

pepeelpubero

Well-known member
Joined
Jan 21, 2014
Messages
433
Reaction score
1
xzytro link said:
[quote author=pepeelpubero link=topic=5893.msg33533#msg33533 date=1394392497]
Ok but is there anyway to "disable" sprunk guard?
No there isn't.

pepeelpubero link said:
To make it with damage i need to remove "064F: make_temp_particle_visible_and_remove_references $particle" or what?
If you remove 064F then the particle will not be visible. To make it with damage you need to use a different opcode; like 020C:, 0948:, or 0565:.
[/quote]

Ok i will try with that opcode.
 
Status
Not open for further replies.
Top