Protential
Active member
- Joined
- Jun 8, 2013
- Messages
- 61
- Reaction score
- 0
Hello, I've been attempting to use an opcode from sampfuncs to render text in the samp chat-box and I've crashed every time I tried to use it.
The opcode I've tried to use is this one.
Here's the quick script I made to test it.
Every time I attempt to press the toggle key which is x, I crash.
The opcode I've tried to use is this one.
Code:
//0AF8: samp add_message_to_chat "hello." color 0xFF61B 0@
Code:
{$CLEO .cs}
//{$include includesRakNetDefines.txt}
THREAD "TextTest"
:KeyTest
wait 0
if
0AB0: key_pressed 88//x
jf @KeyTest
//0AF9: samp say_msg "hi guys7"
0AF8: samp add_message_to_chat "hello." color 0xFF61B 0@
jump @KeyTest