Jump to content

Ajutor CMD.


SonGoku27

Recommended Posts

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 !

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.