CLEO HELP Actor Data

Parazitas

Well-Known Member
Joined
Jan 2, 2017
Messages
1,409
Likes
153
Points
78
Location
Lithuania
Website
ugbase.eu
15
#1
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 [email protected] = get_player_count streamed_only false
    for [email protected] = 0 to [email protected]  
        if
        0B20: samp [email protected] = actor_handle_by_samp_player_id [email protected]
        then 
            0B36: samp [email protected] = get_player_nickname [email protected]
            if
            0C14: strcmp string1 [email protected] string2 "Marius_Markyto" 
            then                
                if
                00DF:   actor [email protected] driving
                then
                    chatmsg "driving" -1
                end
              
                if
                044B:   actor [email protected] on_foot
                then
                    chatmsg "on foot" -1
                end

                if
                0818:  actor [email protected] 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:
Top