#1 GTA Modding » Code not working » 05-05-2015 17:49

caelin99
Replies: 2

Hey everybody! I just started modding SA using CLEO4 and Sanny Builder 3.
But I don't get why my code isn't fully executed.

{$CLEO .cs}
03A4: name_thread "DEMO"

:LOLTEXT1
wait 0
if
0256: player $PLAYER_CHAR defined
004D: jump_if_false @LOLTEXT1
0002: jump @LOLTEXT2

:LOLTEXT2
if
00E1: player 0 pressed_key 17
004D: jump_if_false @LOLTEXT3
00BA: show_text_styled GXT "BEEFY" time 1000 style 4
0002: jump @LOLTEXT1

:LOLTEXT3
if
00E1: player 0 pressed_key 18
004D: jump_if_false @LOLTEXT1
00BA: show_text_styled GXT "FEM_OK" time 2000 style 4
0002: jump @LOLTEXT1

It does work if I press CTRL, but it doesn't show "OK" when I press ALT.

Can someone show me my mistake?
TIA Caelin

Board footer

Powered by FluxBB