CLEO Help Actor Data

CLEO related
Status
Not open for further replies.

Parazitas

God
Staff member
Joined
Jan 2, 2017
Messages
3,315
Solutions
7
Reaction score
935
Location
Lithuania
Possible get not streamed player actor handle?

I tried do this like:
PHP:
{$CLEO .cs}

0000: 'Parazitas || UGBASE.EU'

REPEAT
   WAIT 0
UNTIL 0AFA:  SAMP_IS_READY

while true
wait 0

if
0B61:  samp is_local_player_spawned
then
    0C8B: samp 0@ = get_player_count streamed_only false
    for 1@ = 0 to 0@  
        if
        0B20: samp 3@ = actor_handle_by_samp_player_id 1@
        then 
            0B36: samp 2@ = get_player_nickname 1@
            if
            0C14: strcmp string1 2@ string2 "Marius_Markyto" 
            then                
                if
                00DF:   actor 3@ driving
                then
                    chatmsg "driving" -1
                end
              
                if
                044B:   actor 3@ on_foot
                then
                    chatmsg "on foot" -1
                end

                if
                0818:  actor 3@ in_air
                then
                    chatmsg "in air" -1
                end
            end
        end
    end
end

end

But when player are not streamed , i can't get him status .
This possible? Can i get not streamed player status?

OR

Is there any way detect when player stop send any data?
@Opcode.eXe
@springfield
etc...
 
Last edited:
Status
Not open for further replies.
Top