DanyBoSS Posted December 26, 2016 Report Share Posted December 26, 2016 Salut, am inceput acum 3-4 zile un edit a gm-ului Blumix, merge bine e bun am reparat bugurile care le stiam etc..chiar si cel cu vehiculele etc.. sunt incepator in scripting nu sunt expert deci sa nu va aud cu hate ca va bag undeva .. =) Deci.. vreau sa modificat dealership-ul cand dai /buycar sa iti arata direct dialog si sa alegi de acolo si sa nu mai apara textdraw-urile.. am scot textdrawurile.. am bagat pe dialog.. dar nu stiu cum sa fac gen cand sa dau pe Cheap Vehicles sa apara vehiculele de la cheap....etc. COD VECHI (/buycar) CMD:buycar(playerid, params[]) { if(gPlayerLogged[playerid] == 0) return SendClientMessage(playerid, COLOR_LIGHTRED, "You need to login first."); if(IsPlayerInAnyVehicle(playerid)) return SCM(playerid,COLOR_WHITE,"{0077ED}Server:{FFFFFF} Pentru a va cumpara o masina trebuie sa coborati din masina actuala."); if(IsPlayerInRangeOfPoint(playerid, 7.0, 328.1729,-1512.4448,36.0325)) { if(PlayerInfo[playerid][pLevel] < 3) return SendClientMessage(playerid, COLOR_WHITE, "{0077ED}Server:{FFFFFF} Pentru a va cumpara o masina personala va trebuie level 3."); BuyCar[playerid] = -1; SelectTextDraw(playerid, 0xB98300FF); TogglePlayerControllable(playerid, 0); TextDrawShowForPlayer(playerid, DealerShip); TextDrawShowForPlayer(playerid, DealerShip1); TextDrawShowForPlayer(playerid, DealerShip2); TextDrawShowForPlayer(playerid, DealerShip3); TextDrawShowForPlayer(playerid, DealerShip4); TextDrawShowForPlayer(playerid, DealerShip5); TextDrawShowForPlayer(playerid, DealerShip6); TextDrawShowForPlayer(playerid, DealerShip7); TextDrawShowForPlayer(playerid, DealerShip8); TextDrawShowForPlayer(playerid, DealerShip9); TextDrawShowForPlayer(playerid, DealerShip10); } else return SCM(playerid,COLOR_WHITE,"{0077ED}Server:{FFFFFF} Nu sunteti la dealership pentru a va achizitiona o masina."); return 1; } COD CE VREAU SA-L FOLOSESC: CMD:buycar(playerid, params[]) { if(IsPlayerInRangeOfPoint(playerid, 3.0, 329.3534,-1511.9949,36.0391)) { if(PlayerInfo[playerid][pLevel] >= 3) { ShowPlayerDialog(playerid, DIALOG_BUYCAR, DIALOG_STYLE_LIST, "Buy a car", "Cheap cars\nRegular cars\nExpensive cars\nPremium cars", "Select", "Cancel"); } else return SCM(playerid,COLOR_WHITE,"Nu ai level 3."); } else return SCM(playerid,COLOR_WHITE,"Nu esti la dealership."); return 1; } Cum fac .. cand dau pe Cheap cars sa imi apara vehiculele ? .. vehiculele sunt in baza de date .. iar cand apasai pe textdraw aparea.. vr sa-l fac pe dialog Quote Link to comment Share on other sites More sharing options...
flavyus15 Posted December 26, 2016 Report Share Posted December 26, 2016 da-mi add pe skype dark_flavy_2000 am cateva intrebari daca poti sa ma ajuti ... Quote Link to comment Share on other sites More sharing options...
flavyus15 Posted December 26, 2016 Report Share Posted December 26, 2016 cum ai facut bugul la vehicule ? Quote Link to comment Share on other sites More sharing options...
Kingsley Posted December 26, 2016 Report Share Posted December 26, 2016 ti-am raspuns pe celalalt site unde ai pus intrebarea. 1 Quote Retras Link to comment Share on other sites More sharing options...
DanyBoSS Posted December 26, 2016 Author Report Share Posted December 26, 2016 Acum 2 ore, Tud0r. a spus: ti-am raspuns pe celalalt site unde ai pus intrebarea. Stiu, iti multumesc :* doar ca am facut in alt mod mai usor dar datorita tie =) 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.