Jump to content

Question

Posted (edited)

Salut, am nevoie de ajutor, vreau sa fac o functie a unei comenzi care sa verifice daca jucatorul este conectat, sa raspunda altei functii iar daca nu este conectat sa afiseze un mesaj precum "print  ~y~(Numele comenzii) + <ID>" cum sa foloseasca comanda. Functia la care am nevoie de ajutor ar fi asta 0B23: samp is_player_connected 0@. Imi puteti scrie in privat sau sa comentati la topic daca ma puteti ajuta, multumesc.

 

Edited by Striker - OG-TIMES Member

3 answers to this question

Recommended Posts

  • 0
Posted

Verificarea cu IsPlayerConnected e inutila complet pentru ca nu poti trimite comenzi daca nu esti conectat la server

CMD:comanda(playerid, params[])
{
	Functie(playerid);
	return 1;
}

 

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • 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.