ollydbg said:
Create the file but it does not seem to work ..
Cleo / INI / Players.ini
Inside the .ini file add
Carlos_Martin
Cleo/INI/Players.ini
File name: Players.ini
File inside.:
[shcode=cpp]
[Players]
PlayerName1=Big_Stick
PlayerName2=
PlayerName3=
PlayerName4=
PlayerName5=
PlayerName6=
PlayerName7=
PlayerName8=
PlayerName9=
PlayerName10=
[/shcode]
Cleo code.:
[shcode=cpp]
{$CLEO .cs}
0000:
REPEAT
WAIT 0
UNTIL 0AFA: SAMP_IS_READY
0AC8: 3@ = allocate_memory_size 260
0AC8: 4@ = allocate_memory_size 260
0AC8: 5@ = allocate_memory_size 260
0AC8: 6@ = allocate_memory_size 260
0AC8: 7@ = allocate_memory_size 260
0AC8: 8@ = allocate_memory_size 260
0AC8: 9@ = allocate_memory_size 260
0AC8: 10@ = allocate_memory_size 260
0AC8: 11@ = allocate_memory_size 260
0AC8: 12@ = allocate_memory_size 260
WHILE TRUE
WAIT 0
IF 0B61: samp is_local_player_spawned
THEN
0AF4: 3@ = read_string_from_ini_file "CLEO\INI\Players.ini" section "Players" key "PlayerName1"
0AF4: 4@ = read_string_from_ini_file "CLEO\INI\Players.ini" section "Players" key "PlayerName2"
0AF4: 5@ = read_string_from_ini_file "CLEO\INI\Players.ini" section "Players" key "PlayerName3"
0AF4: 6@ = read_string_from_ini_file "CLEO\INI\Players.ini" section "Players" key "PlayerName4"
0AF4: 7@ = read_string_from_ini_file "CLEO\INI\Players.ini" section "Players" key "PlayerName5"
0AF4: 8@ = read_string_from_ini_file "CLEO\INI\Players.ini" section "Players" key "PlayerName6"
0AF4: 9@ = read_string_from_ini_file "CLEO\INI\Players.ini" section "Players" key "PlayerName7"
0AF4: 10@ = read_string_from_ini_file "CLEO\INI\Players.ini" section "Players" key "PlayerName8"
0AF4: 11@ = read_string_from_ini_file "CLEO\INI\Players.ini" section "Players" key "PlayerName9"
0AF4: 12@ = read_string_from_ini_file "CLEO\INI\Players.ini" section "Players" key "PlayerName10"
FOR 0@ = 0 TO 1000
IF 0B23: samp is_player_connected 0@
THEN
0B36: samp 1@ = get_player_nickname 0@
IF OR
0C14: strcmp string1 1@ string2 3@
0C14: strcmp string1 1@ string2 4@
0C14: strcmp string1 1@ string2 5@
0C14: strcmp string1 1@ string2 6@
0C14: strcmp string1 1@ string2 7@
0C14: strcmp string1 1@ string2 8@
0C14: strcmp string1 1@ string2 9@
0C14: strcmp string1 1@ string2 10@
THEN
say "/q"
wait 1000 /// Anti spam
END /// END 0B61: samp is_local_player_spawned
IF OR
0C14: strcmp string1 1@ string2 11@
0C14: strcmp string1 1@ string2 12@
THEN
say "/q"
wait 1000 /// Anti spam
END /// END 0B61: samp is_local_player_spawned
END /// END FOR 0@ = 0 TO 1000
END /// END 0B23: samp is_player_connected 0@
END /// END 0C14: strcmp string1 1@ string2 3@
END /// END WHILE TRUE
[/shcode]