Jump to content

Recommended Posts

Posted

pai uita-te mai bine prin acest forum (nu confunda topicul cu forumul) si vei vedea cum este un cmd 

Ares4  =(

 

 

Posted

Pentru a face o comanda trebuie sa ai procesorul de comenzi ,,ZCMD''
pentru a creea o comanda facem astfel: 

CMD:comanda(playerid, params[])  { //aici se afla comanda adica cand scrii in chat /comanda sa se execute cod-ul de mai jos !

    SendClientMessage(playerid, -1, "Aceasta este comanda /comanda"); //aici ii trimitm un mesaj !

    //Sau pui alte coduri dar sa stii ce faci aici !

    //Trebuie sa ai return 1; la sfarsitul comenzi astfel sa nu dea Unknow command in samp !

    return 1;

}

Si asa se face o comanda !

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.