CLEO Help get_player_nickname function dont work.

CLEO related

petriqqq

Member
Joined
Feb 13, 2022
Messages
16
Reaction score
0
Location
Ma-ta
Wagwan comunity?

I have a problem whit a simple CMD that is i thing from the SF Data, but i tried all of them already.
0B36: samp 1@ = get_player_nickname 21@ - dont want to execute at all, i only get the syntax from it.. for me not working at all and for other users that i gave the .cs it works but dont want to input the playername on the message.
 

Attachments

  • Warriors BOT.txt
    10.6 KB · Views: 4

Parazitas

God
Joined
Jan 2, 2017
Messages
3,115
Solutions
5
Reaction score
879
Location
Lithuania
Wagwan comunity?

I have a problem whit a simple CMD that is i thing from the SF Data, but i tried all of them already.
0B36: samp 1@ = get_player_nickname 21@ - dont want to execute at all, i only get the syntax from it.. for me not working at all and for other users that i gave the .cs it works but dont want to input the playername on the message.
PHP:
:cmd_147
0B35: samp 1@ = get_last_command_params
if 0AD4: $NOT_USED = scan_string 20@ format "%d" $NOT_USED
then
    0C1A: 21@ = atoi 20@
    0B36: samp 1@ = get_player_nickname 21@
    0AF9: samp say_msg "/c %s primesti Clan Warn pentru SPAM" 1@

else
    0AD1: "~y~/cws + <playerid>" 2000
end
0B43: samp cmd_ret
 
Top