.Narcis. Posted May 3, 2019 Share Posted May 3, 2019 Întrebarea / Nelămurirea / Ajutor: Salut! Am facut un CMD pentru politisti, iar la comenzile cu ID, cand le pun imi inchide jocul, doar la cele cu ID, la cele fara ID nu imi inchide jocul, de ce?Screenshot (în caz că este necesar): NU e nevoie Alte precizări: Multumesc! Link to comment Share on other sites More sharing options...
R e l u Posted May 4, 2019 Share Posted May 4, 2019 Da-mi SS din Sanny Builder sa vad ce si cum ai facut, poate nu ai facut cum trebuie si iti pot zice ce si cum. Link to comment Share on other sites More sharing options...
.Narcis. Posted May 4, 2019 Author Share Posted May 4, 2019 5 hours ago, R e l u said: Da-mi SS din Sanny Builder sa vad ce si cum ai facut, poate nu ai facut cum trebuie si iti pot zice ce si cum. Link to comment Share on other sites More sharing options...
R e l u Posted May 4, 2019 Share Posted May 4, 2019 4 hours ago, Narcissss said: Teoretic la alea ai scris bine, uita-te la restul poate ai gresit la altele, nu la astea. Link to comment Share on other sites More sharing options...
MiHaY111 Posted May 4, 2019 Share Posted May 4, 2019 Ba, stii ce-ai gresit? Ai pus @21 la amandoua, si la aia cu #d, si la aia cu %s, pune 1@ la aia cu %s si-ti merge, ca se incurca intre ele tu nu vezi la get player nickname pune 1@ si la scan_string aia 21@ Link to comment Share on other sites More sharing options...
MiHaY111 Posted May 4, 2019 Share Posted May 4, 2019 sa zicem ca ai o comanda sa saluti pe X :sal SAMP.IsCommandTyped(20@) if 0AD4: 20@ scan_string 20@ format "%d" 20@ 21@ / 21@ e pentru id then 0B36: samp 1@ geT_player_nickname 1@ / aici 1@ e pentru a lua numele, nu tot 21@ ca 21@ e la id si dupa faci samp say_msg "&s, ai fost surprins cu viteza mai mare de bla bla" 1@ / / 1@ e pentru ca primu de acolo e numele, adica 1@ ce e in dreptul comenzii pentru nume sau samp say-smg "%s (%d), ai fost surprins cu droguri" 1@ 21@ // 1@ primul pentru ca e numele si e primul in mesaj, apoi 21@ pentru a pune id-ul si pentru ca e al doilea in lista si tot asa, daca %d e primu, pui 21@ 1@ intelegi, depinde cum sunt puse in mesaj Link to comment Share on other sites More sharing options...
.Narcis. Posted May 4, 2019 Author Share Posted May 4, 2019 Rezolvat! Link to comment Share on other sites More sharing options...
D a n n Posted May 4, 2019 Share Posted May 4, 2019 44 minutes ago, Narcissss said: Rezolvat! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.