NERS
-
Posts
77 -
Joined
-
Last visited
-
Days Won
2
Content Type
Profiles
Forums
News
Documentation
Posts posted by NERS
-
-
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.
Ajutor Sanny Builder
in Ajutor Scripting
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.