So guys, i wanted to make a command that when I press a button like " L ", to send a message on chat.
this is the code i made and it compiles fine but in game it just doesn't work:
if
0AB0: key_press 76 // ( which stands for L )
then
0AF9: samp say_msg "Message"
end
Could you help me please?
Edit: I tried to put this under while true.
this is the code i made and it compiles fine but in game it just doesn't work:
if
0AB0: key_press 76 // ( which stands for L )
then
0AF9: samp say_msg "Message"
end
Could you help me please?
Edit: I tried to put this under while true.