Luna Decembrie aduce pe serverele RPG Advent Calendar. Detalii aici.

Reducerile de Craciun au venit! Detalii aici.

 Anunt despre rapoarte de activitate, reguli sublideri, waruri sarbatori, legalizare moduri. Cititi aici.

Welcome to B-Zone Community

Register now to gain access to all of our features. Once registered and logged in, you will be able to contribute to this site by submitting your own content or replying to existing content. You'll be able to customize your profile, receive reputation points as a reward for submitting content, while also communicating with other members via your own private inbox, plus much more!

This message will be removed once you have signed in.

Sign in to follow this  
Followers 0
Paul001

Sanny Builder get nickname.

4 posts in this topic

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).

0

Share this post


Link to post
Share on other sites

acelasi lucru il caut si eu :), dar nu gasesc nimic..

0

Share this post


Link to post
Share on other sites

Foloseste comanda

 

0AD4: 20@ = scan_string 20@ format "%d %d" 21@ 22@
then
    0B36: samp 1@ = get_player_nickname 21@
	0B36: samp 2@ = get_player_nickname 22@
    0AF9: samp say_msg "/c Salut %d si %d." 1@ 2@

Succes!

0

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  
Followers 0