CLEO Help Need help for one command

CLEO related
Status
Not open for further replies.

iavorovschi

Member
Joined
Aug 13, 2014
Messages
5
Reaction score
0
Code:
:NR_1735
SAMP.IsCommandTyped(20@)
if
0AD4: 20@ = scan_string 20@ format "%d" 21@
1@ = SAMP.GetPlayerNickname(21@)
say "Buna dimineata, Bugged. Langa mine il am pe %s, caruia ii voi lua un interviu. Salut, %s." 1@
jump @NR_1872

:NR_1872
SAMP.CmdRet
Hello guys I need help, how to make to appear twice nickname?


dVCk8SQ.png
 

bladero

Active member
Joined
Jan 3, 2017
Messages
73
Reaction score
0
You have two strings and you only assigned one : say "Buna dimineata, Bugged. Langa mine il am pe %s, caruia ii voi lua un interviu. Salut, %s." 1@ . You have two %s string but only one variable
 

0B36

Expert
Joined
Jan 6, 2014
Messages
1,324
Reaction score
8
Code:
SAMP.IsCommandTyped(20@)
if
    0AD4: 20@ = scan_string 20@ format "%d" 21@
then
    1@ = SAMP.GetPlayerNickname(21@)
    say "Buna dimineata, Bugged. Langa mine il am pe %s, caruia ii voi lua un interviu. Salut, %s." 1@ 1@
end
SAMP.CmdRet
 
Status
Not open for further replies.
Top