help help !
#1

hi guys. i need help ! when i use /veh then i click Bikes and when i opened it its Airplaines not Bikes.



Reply
#2

Show me your OnDialogResponse and you dialog you made
Reply
#3

Код:
//==========================On Dialog Response==================================
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
	new idx;
	new string[128];
	new params[128];
//	new cmd[256];
	new moneys[MAX_PLAYERS];
	new giveplayer[128];
	new giveplayerid;
	new sendername[MAX_PLAYER_NAME];
	new playermoney[MAX_PLAYERS];
	new iparam1;
	new adminname[MAX_PLAYER_NAME], playername[MAX_PLAYER_NAME];
	new player1,colour1, colour2;
	if (dialogid==1 && response==1)
Код:
CMD:veh(playerid,params[]) {
    #pragma unused params
    if(PlayerInfo[playerid][Level] >= 0 || instunt[playerid] == 1) {
 		if(IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid,COLOR_RED,"ERROR: You already have a car.");
        else {
			ShowPlayerDialog( playerid, DIALOGID3+24, DIALOG_STYLE_LIST, "Vehicle Types", "Bikes\nConvertibles\nIndustrial\nLowriders\nOff Road\nPublic Service Vehicles\nSaloons\nSport Vehicles\nStation Wagons ", "Select", "Cancel" );
			return 1;
		}
    } else return SendClientMessage(playerid,COLOR_RED,"");
}
Reply
#4

Show us the full dialog response
Reply
#5

its fixed now .
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)