CLEO Help actor store pos

CLEO related
Status
Not open for further replies.

HowEnCokkien

Well-known member
Joined
Jul 9, 2017
Messages
307
Reaction score
9
so if i use Actor.StorePos($PLAYER_ACTOR, 7@, 8@, 9@) then how can i block it? is there a opcode for disable it?
 

Ninja FTW

Active member
Joined
Aug 11, 2017
Messages
61
Reaction score
0
Location
Saturn
First add the whole script activation like: 31@ = 1
then
if you want to disable the whole script then 31@ = 0 or 31@ -= 1
This will block the stored position.
 

bladero

Active member
Joined
Jan 3, 2017
Messages
73
Reaction score
0
@0B36 exactly what i wanted to say i think you cant. You are using variables so its stored there you can as 0B36 said overwrite them.
 

0B36

Expert
Joined
Jan 6, 2014
Messages
1,324
Reaction score
8
It's not something that can be blocked or disabled at will. Its purpose is store pos values of the said actor/player in question, you can manipulate and store new values though, but that's all.
 

Ninja FTW

Active member
Joined
Aug 11, 2017
Messages
61
Reaction score
0
Location
Saturn
If did not work then reset them.

PHP:
{$CLEO .cs}
0000:



:IC
wait 0
if
  0ADC: test_cheat "1"
else_jump @else_jump
wait 0
0ACC: show_text_lowpriority "Enabled + tp'ed" time 2000
Actor.StorePos($PLAYER_ACTOR,1@,2@,3@)
wait 2000
Actor.PutAt($PLAYER_ACTOR,1@,2@,3@)
jump @IC

:else_jump
wait 0
if
  0ADC: "2"
else_jump @IC
wait 0
0ACC: show_text_lowpriority "Disabled!" time 2000
1@ = 0.0
2@ = 0.0
3@ = 0.0
Actor.PutAt($PLAYER_ACTOR,1@,2@,3@)
jump @else_jump
This is just a simple script which will tp you if you pressed '1'. First it will store your pos and then tp there where it is stored. 

If you pressed '2' then the system will change the variables to 0.0 0.0 0.0 coords which is a defined and normal coords already in San Andreas, location is BlueBerry.

If you tp the actor without even defining the variable which contain the coords then still it will tp you to the Blueberry as i already said that this is already defined.
 
Status
Not open for further replies.
Top