if
0AB1: @isPlayerIDinMyCar 1 PlayerID 50
then
..
end
:isPlayerIDinMyCar
03C0: 1@ = actor $PLAYER_ACTOR car
0B20: samp 2@ = actor_handle_by_samp_player_id 0@
03C0: 3@ = actor 2@ car
if
18@ == 21@
then
0485: return_true
else
059A: return_false
end
0AB2: 0
Opcode.eXe link said:Code:if 0AB1: @isPlayerIDinMyCar 1 PlayerID 50 then .. end :isPlayerIDinMyCar 03C0: 1@ = actor $PLAYER_ACTOR car 0B20: samp 2@ = actor_handle_by_samp_player_id 0@ 03C0: 3@ = actor 2@ car if 18@ == 21@ then 0485: return_true else 059A: return_false end 0AB2: 0