Lazar William Posted March 31, 2015 Share Posted March 31, 2015 FIti atenti am avut niste business-uri si le-am sters si imi mergeau la ele comenzile adica /clothes etc! Mai am business intems! Cum pot adauga la business-uri comenzile clothes? Quote Link to comment Share on other sites More sharing options...
Recycle Posted April 1, 2015 Share Posted April 1, 2015 Mai ai comanda /clothes? Quote Link to comment Share on other sites More sharing options...
AraZel Posted April 1, 2015 Share Posted April 1, 2015 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; } Quote Link to comment Share on other sites More sharing options...
L0K3D. Posted April 1, 2015 Share Posted April 1, 2015 (edited) 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 April 1, 2015 by L0K3D. Quote Link to comment Share on other sites More sharing options...
AraZel Posted April 1, 2015 Share Posted April 1, 2015 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... Quote Link to comment Share on other sites More sharing options...
L0K3D. Posted April 2, 2015 Share Posted April 2, 2015 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. Quote Link to comment Share on other sites More sharing options...
AraZel Posted April 2, 2015 Share Posted April 2, 2015 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. E completa el a sters doar ce am scris eu ... Quote Link to comment Share on other sites More sharing options...
L0K3D. Posted April 2, 2015 Share Posted April 2, 2015 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. Quote Link to comment Share on other sites More sharing options...
AraZel Posted April 2, 2015 Share Posted April 2, 2015 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 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.