Jump to content
  • 0

Ajutor Sanny Builder


Question

Posted

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.

1 answer to this question

Recommended Posts

  • 0
Posted

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.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • 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.