Jump to content
Hostul a fost schimbat. Daca vedeti serverul offline readaugati rpg.b-zone.ro sau 141.95.124.78:7777 in clientul de sa-mp ×

Sanny Builder get nickname.


PaulOwn
 Share

Recommended Posts

Salut, nu stiu cum mai exact sa fac sa se afiseze doua nume in script.

De exemplu.

 

:cmd_222
SAMP.IsCommandTyped(20@)
if
0AD4: 20@ = scan_string 20@ format "%d" 21@
then
    0B36: samp 1@ = get_player_nickname 21@
    0AF9: samp say_msg "/c Salut Andrei si Vasile." 1@
    
else
    print "~y~/l1d <id>" 2000
end
SAMP.CmdRet()

 

Am incercat sa fac asta : 

 

:cmd_222
SAMP.IsCommandTyped(20@)
if
0AD4: 20@ = scan_string 20@ format "%d" 21@
then
    0B36: samp 1@ 2@ = get_player_nickname 21@
    0AF9: samp say_msg "/c Salut %s si %s." 1@ 2@
    
else
    print "~y~/l1d <id>" 2000
end
SAMP.CmdRet()

 

 Dar la al doilea nume imi da (null).

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.