Jump to content
  • 0

comanda


Iulian_12x

Question

2 answers to this question

Recommended Posts

  • 0

Acest lucru se face prin filterscript-ul HOLD ! 
Si modifici de acolo, iar dupa ce ai dat sa se salveze intr un fisier si iei de acolo coordonatele din acel fisier si creezi ceva de genul :
CMD:hallowenhat(playerid, params[])

{

     SetPlayerAttachedObject(playerid, si aici vine toata faza !)

}

Link to comment
Share on other sites

  • 0

Salut, cum a spus si @RaulDume mai sus, eu iti voi da direct cu coordonatele pe care se ataseaza obiectul.

poftim comanda

CMD:hallowen(playerid, params[]) {
SetPlayerAttachedObject(playerid, 0, 19528, 2, 0.133000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 1.000000, 1.000000, 1.000000);  // ii atasam palaria de hallowen (0-ul ala reprezinta index-ul  (slot-ul) )
SendClientMessage(playerid, COLOR_YELLOW, "Felicitari! Ti-ai atasat palaria de 'Hallowen' cu succes."); // ii transmitem un mesaj ca si-a atasat palaria
return 1; }

| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------  |

Daca doresti sa faci /removehallowen poftim..


CMD:removehallowen(playerid, params[]) {
RemovePlayerAttachedObject(playerid, 0); // ii dam jos palaria
SendClientMessage(playerid, COLOR_YELLOW, "Felicitari! Ti-ai scos cu succes palaria de hallowen.");
return 1;} 

Sper ca te-am ajutat :D

Edited by Edyyy.
  • Upvote 1
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
Answer this question...

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