if samp.IsCommandTyped("check")
then
for 0@ = 0 to 150
if 0B23: samp is_player_connected 0@
and if 0C29: 5@ = stristr sz1 29@ sz2 "_lastname"
or if 0C29: 5@ = stristr sz1 29@ sz2 "_lastname"
then
get_player_nickname 5@
then
0AF8: samp add_message_to_chat "%s is connected" 5@
wanted to make a cleo that could tell me if people with the same lastname were online by scanning all online ppl but it didn't worked
if somebody could me
thx
then
for 0@ = 0 to 150
if 0B23: samp is_player_connected 0@
and if 0C29: 5@ = stristr sz1 29@ sz2 "_lastname"
or if 0C29: 5@ = stristr sz1 29@ sz2 "_lastname"
then
get_player_nickname 5@
then
0AF8: samp add_message_to_chat "%s is connected" 5@
wanted to make a cleo that could tell me if people with the same lastname were online by scanning all online ppl but it didn't worked
if somebody could me
thx