Jump to content
  • 0

Ajutor Sanny Builder


NERS

Question

Salut, doresc sa fac o comanda in Sanny Builder care scrie id-ul meu in chat fara sa-l mai scriu in comanda, adica: In loc de [/idulmeu 100] sa scriu doar [/idulmeu] si sa apara ca am id-ul 100 in chat, vreau sa fac asta pentru un S.I CMD, dar nu stiu cum, am incercat cu 0B2B: get_player_id_by_actor_handle 0@ dar imi arata -1 in loc de ID, daca ma poate ajuta cineva, respect!

Asta am incercat:

:cmd_6
   SAMP.IsCommandTyped(20@)
   0B2B: samp 1@ = get_player_id_by_actor_handle 0@
   say "Pentru inceput te rog sa folosesti comanda [/showlicenses %d] ca sa-ti verific licentele." 1@
wait 3000 
SAMP.CmdRet()

Rezultat: Pentru inceput te rog sa folosesti comanda [/showlicenses -1] ca sa-ti verific licentele.

Altceva nu stiam sa fac, am cautat peste tot dar n-am gasit un raspuns.

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0

Am rezolvat!
Solutie: Sus de tot am adaugat: thread "$PLAYER_ACTOR"
si comanda:
:cmd_6
SAMP.IsCommandTyped(20@)
0B2B: samp 1@ = get_player_id_by_actor_handle $PLAYER_ACTOR
say "Pentru inceput te rog sa folosesti comanda [/showlicenses %i] ca sa-ti verific licentele." 1@
wait 3000 
SAMP.CmdRet()
Daca se poate sa inchida cineva topic-ul, mssss.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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. For more details you can also review our Terms of Use and Privacy Policy.