CLEO Help Help I need the opcode

CLEO related
Status
Not open for further replies.

noob213

Active member
Joined
Sep 15, 2017
Messages
88
Reaction score
6
If the player takes the pickup continue down ..

that opcode is available which is ?
Code:
{$CLEO}
0000:


repeat
wait 0
until player.Defined($PLAYER_ACTOR)

while true
wait 0
if 
0AB0:   key_pressed 51
then
0213: 0@ = create_pickup 1318 type 3 at 2001.8024 -1445.972 13.5612
if
opcode for if the actor picks up the pickup ??
then
say "/rodar"
end
end
end
 

_=Gigant=_

Well-known member
Joined
Mar 21, 2017
Messages
353
Reaction score
16
https://www.gtamodding.com/wiki/Pickup_to_object


http://zazmahall.de/ZAZGTASANATORIUM/CLEO_Script_Tut_eng1.htm
 

noob213

Active member
Joined
Sep 15, 2017
Messages
88
Reaction score
6
A problem

Code:
{$CLEO}

thread "BF"

:load
wait 0
if Samp.Available()
004D: jump_if_false @load

:noname
wait 100
if 
0AB0:   key_pressed 51
004D: jump_if_false @noname
0213: 0@ = create_pickup 1318 type 3 at 2001.8024 -1445.972 13.5612

:noname2
wait 100
if
0214:   pickup 0@ picked_up   //here the condition does not work because ??
then
0C8F: samp process_chat_input "/q" //do not run the 0C8F opcode to exit the game why?
end
0002: jump @noname
 
Status
Not open for further replies.
Top