Hey i made this script ( Not made copied from someone)
{$CLEO .cs}
0000: NOP
REPEAT
Wait 0
Until 0AFA: is_samp_structures_available
0B34: "activate" @ACTIVE
1@ = FALSE
While True
Wait 0
If and
1@ == TRUE
0B61: samp is_local_player_spawned
Then
0AC8: 2@ = allocate_memory_size 260
0AC8: 3@ = allocate_memory_size 260
0B75: samp get_chat_string 99 text_to 2@ prefix_to 3@ color_to 4@ prefix_color_to 5@
If
0AD4: $NOT_USED = scan_string 2@ format "(Group): %s from your group has just logged in." 6@
then
0AD4: $NOT_USED = scan_string 6@ format "%[^_]_%[^_]" 10@v 20@v // 10@v - First name | 20@v - Last name
wait 200
say "/r Hello, %s Welcome to the server!" 10@v
end
end
END
:ACTIVE
0B12: 1@ = 1@ XOR TRUE
If
1@ == TRUE
Then
0ACD: show_text_highpriority "~W~Auto Hello: ~G~ON~W~" time 1000
else
0ACD: show_text_highpriority "~W~Auto Hello: ~R~OFF~W~" time 1000
end
CmdRet
And the game crashs when i try login.
{$CLEO .cs}
0000: NOP
REPEAT
Wait 0
Until 0AFA: is_samp_structures_available
0B34: "activate" @ACTIVE
1@ = FALSE
While True
Wait 0
If and
1@ == TRUE
0B61: samp is_local_player_spawned
Then
0AC8: 2@ = allocate_memory_size 260
0AC8: 3@ = allocate_memory_size 260
0B75: samp get_chat_string 99 text_to 2@ prefix_to 3@ color_to 4@ prefix_color_to 5@
If
0AD4: $NOT_USED = scan_string 2@ format "(Group): %s from your group has just logged in." 6@
then
0AD4: $NOT_USED = scan_string 6@ format "%[^_]_%[^_]" 10@v 20@v // 10@v - First name | 20@v - Last name
wait 200
say "/r Hello, %s Welcome to the server!" 10@v
end
end
END
:ACTIVE
0B12: 1@ = 1@ XOR TRUE
If
1@ == TRUE
Then
0ACD: show_text_highpriority "~W~Auto Hello: ~G~ON~W~" time 1000
else
0ACD: show_text_highpriority "~W~Auto Hello: ~R~OFF~W~" time 1000
end
CmdRet
And the game crashs when i try login.