Jump to content

Comanda /clothes


Lazar William
 Share

Recommended Posts

CMD:clothes(playerid,params[])

{

if(GetPlayerVirtualWorld(playerid)-BUSINESS_VIRTUAL_WORLD >= 1)

{

new businessID;

businessID = GetPlayerVirtualWorld(playerid) - BUSINESS_VIRTUAL_WORLD;

if(businessVariables[businessID][bType] == 2)

{

   if(IsPlayerConnected(playerid))

{

       ShowModelSelectionMenu(playerid, skinlist, "Skins");

   }

}

}

else SCM(playerid, -1, "You are not at clothing store."); 

    return 1;

}

Link to comment
Share on other sites

 

CMD:clothes(playerid,params[])
{
if(GetPlayerVirtualWorld(playerid)-BUSINESS_VIRTUAL_WORLD >= 1)
{
new businessID;
businessID = GetPlayerVirtualWorld(playerid) - BUSINESS_VIRTUAL_WORLD;
if(businessVariables[businessID][bType] == 2)
{
   if(IsPlayerConnected(playerid))
{
       ShowModelSelectionMenu(playerid, skinlist, "Skins");
   }
}
}
else SCM(playerid, -1, "You are not at clothing store."); 
    return 1;
}

 

 

Ai dat doar copy + paste.

 

Nu ai explicat, trebuie sa ai in folederul scripfile un fisier "skins". Dupa trebuie sa mergi si la callback-ul "OnPlayerSelectedMenuRow" si sa descrii ce face acel model.

 

ON:

 

Daca vrei ca x sa poata folosi comanda doar din punctul y (sau o anumita distanta dupa punct x) foloseste "If(PlayerToPoint, raza, playerid, x, y, z);"

Edited by L0K3D.
Link to comment
Share on other sites

Ai dat doar copy + paste.

 

Nu ai explicat, trebuie sa ai in folederul scripfile un fisier "skins". Dupa trebuie sa mergi si la callback-ul "OnPlayerSelectedMenuRow" si sa descrii ce face acel model.

 

ON:

 

Daca vrei ca x sa poata folosi comanda doar din punctul y (sau o anumita distanta dupa punct x) foloseste "If(PlayerToPoint, raza, playerid, x, y, z);"

Nu te da mare inteligent, am gamemode-ul lui si i-am dat un backup de la comanda /clothes...

Link to comment
Share on other sites

Nu te da mare inteligent, am gamemode-ul lui si i-am dat un backup de la comanda /clothes...

Nu m-am bagat mare inteligent, doar l-am lamurit. Comada pusa de tine e incopleta, i-am explicat ce trebuie sa faca pentru a o termina.

Link to comment
Share on other sites

Nu e comanda completa. Daca o va pune in GM, ii va da errori chiar daca va modifica dupa varibile sale (PlayerIfo, playerVariables, ect). Si daca nu ii va da o eroare, ce va face acea comanda? O sa-l duca in SF, LV, sau ii da un telefon? Trebuie sa pui si ce face.

Link to comment
Share on other sites

Nu e comanda completa. Daca o va pune in GM, ii va da errori chiar daca va modifica dupa varibile sale (PlayerIfo, playerVariables, ect). Si daca nu ii va da o eroare, ce va face acea comanda? O sa-l duca in SF, LV, sau ii da un telefon? Trebuie sa pui si ce face.

Ma, tu nu intelegi ca e din acelasi gm? El a sters CMD:clothes si eu i-am dat din acelasi gm comanda, variabilele se gasesc in gm-ul lui... De aceea te dai inteligent, nu am chef de cearta

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
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
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.

 Share

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use. 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.