C++:
{$CLEO .cs}
0000:
REPEAT
WAIT 0
UNTIL 0AFA: is_samp_available
// MAKE THE CLEO ONLY WORK IF SAMPFUNCS IS LOADED
WHILE TRUE
WAIT 0
0AC8: 1@ = allocate_memory_size 260 // ALLOCATE MEMORY FOR THE CHAT STRING
SAMP.GetChatString(99, 1@, 2@, 3@, 4@)
IF
0AD4: 33@ = scan_string 1@ format "%s is requesting your help." 6@v //
THEN
IF
0C18: $NOT_USED = strstr string1 1@ string2 "is requesting your help."
THEN
0AD1: "Name: %v" 6@v
END
0AC9: free_allocated_memory 1@ // FREE THE MEMORY
END
END
What's wrong with this script? Why is it crashing?