Bartman 0 Odesláno: 17. Červenec, 2013 Share Odesláno: 17. Červenec, 2013 Dobrej, uz si nevim rady tak si to tu zalozim... kdyz do toho vlezu tak se to ukaze ale kdyz neco vyberu z listu tak to neukaze nic ... #define IsPlayerInSphere(%0,%1,%2,%3,%4) IsPlayerInRangeOfPoint(%0,%4,%1,%2,%3) #define PRESSED(%0) \ (((newkeys & (%0)) == (%0)) && ((oldkeys & (%0)) != (%0))) enum V_ENUM { Float:X, Float:Y, Float:Z, Float:Angle, VehiclesID, Model, Owner } new VehicleInfo[ MAX_PLAYERS ][ V_ENUM ]; new VehicleID[MAX_PLAYERS]; new bool:VObchode[MAX_PLAYERS]; new bool:Ukazano[MAX_PLAYERS]; new bool:ShowedPlayerDialog[MAX_PLAYERS]; //***************************************************************************** //***************************************************************************** public OnFilterScriptInit() { AddStaticPickup(1239, 1, -1663.4395,1208.2002,7.2546 ); Create3DTextLabel(""COL_WHITE"Pro zobrazeni "COL_RED"AutoSalon menu\n"COL_LIGHTBLUE"Levy Alt", 0x008080FF,-1663.4395,1208.2002,7.5546, 40.0, 0, 1); return 1; } public OnPlayerPickUpPickup(playerid, pickupid) { if(IsPlayerInSphere(playerid, -1663.4395,1208.2002,7.2546,2)) { ShowPlayerDialog(playerid, 538, DIALOG_STYLE_LIST,"Autosalon", "Závodní auta\nLow Ridery\n2-Dverove vozidla\n4-Dverove vozidla\nMotocykly","Ano","Ne"); } return 1; } public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[]) { ShowedPlayerDialog[playerid]=false; if(dialogid == 538) { if(response == 1) { if(listitem == 0) { ShowPlayerDialog(playerid, 538+1, DIALOG_STYLE_LIST,"Autosalon", "Infernus(350.000$)","Předvést","Ne"); } } } return 1; } Link to comment Share on other sites More sharing options...
0 Administrátor Ewwe 434 Odesláno: 17. Červenec, 2013 Administrátor Share Odesláno: 17. Červenec, 2013 Nebude to tou tvoují proměnou ShowedPlayerDialog ? Link to comment Share on other sites More sharing options...
0 Bartman 0 Odesláno: 17. Červenec, 2013 Author Share Odesláno: 17. Červenec, 2013 No ja to tam mel jen kvuli ShowPlayerDialogEx... ktery ale stejne nepouzivam ... krom toho stocku na ten DialogEx je to vsechno co v tom fs je.. Link to comment Share on other sites More sharing options...
0 Bartman 0 Odesláno: 17. Červenec, 2013 Author Share Odesláno: 17. Červenec, 2013 Co kdybych to skusil s Grandlarc a jen tim FS ? Taky reseni ne ? Link to comment Share on other sites More sharing options...
Dotaz
Bartman 0
Dobrej, uz si nevim rady tak si to tu zalozim... kdyz do toho vlezu tak se to ukaze ale kdyz neco vyberu z listu tak to neukaze nic ...
Link to comment
Share on other sites
3 odpovědí na tuto otázku
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now