Supermacy31
Active member
- Joined
- Mar 13, 2013
- Messages
- 173
- Reaction score
- 1
Here's the current script:
However, it doesn't work. It doesn't execute the IF function. It doesn't say "Near." when I press the button and there's a car nearby. What's wrong with this? How is it supposed to be used? Help?
Code:
if
0@ == 70
then
if //SNIPPET: Will use soon: 09B3: get_car 5@ door_status 11@
0203: actor $PLAYER_ACTOR near_car 1@ radius 5.0 5.0 flag 0 on_foot
then
0AF9: samp say_msg "Near."
end
0AF0: 1@ = get_int_from_ini_file "cleo\kbult.ini" section "kb" key "unislimit"
wait 1@
end
However, it doesn't work. It doesn't execute the IF function. It doesn't say "Near." when I press the button and there's a car nearby. What's wrong with this? How is it supposed to be used? Help?