Jump to content
  • 0

Question

Posted

Salutare la toti :) am facut ieri un system nou de Vehicles si cand selectez de ex ---> zjUcLf8.png

am selectat aceasta si cand dau sami aleg masinile nu imi apare nimica :| ce sa fac ? vreau sa apasa cu mSelection , am pus deja acestea

     case DIALOG_VID:
	    {
	        if(response)
	        {
	            switch(listitem)
	            {
                    case 0: SetTimerEx("DialogVehicles", 250, 0, "id", playerid, 0);
                    case 1: SetTimerEx("DialogVehicles", 250, 0, "id", playerid, 1);
                    case 2: SetTimerEx("DialogVehicles", 250, 0, "id", playerid, 2);
                    case 3: SetTimerEx("DialogVehicles", 250, 0, "id", playerid, 3);
                    case 4: SetTimerEx("DialogVehicles", 250, 0, "id", playerid, 4);
                    case 5: SetTimerEx("DialogVehicles", 250, 0, "id", playerid, 5);
                    case 6: SetTimerEx("DialogVehicles", 250, 0, "id", playerid, 6);
                    case 7: SetTimerEx("DialogVehicles", 250, 0, "id", playerid, 7);
                    case 8: SetTimerEx("DialogVehicles", 250, 0, "id", playerid, 8);
                    case 9: SetTimerEx("DialogVehicles", 250, 0, "id", playerid, 9);
                    case 10: SetTimerEx("DialogVehicles", 250, 0, "id", playerid, 10);
	            }
	        }
	    }
public OnPlayerModelSelection(playerid, response, listid, modelid)
{
	if(listid >= VEHLST_v1 && listid <= VEHLST_v11)
	{
 		if(response) SpawnCarForPlayer(playerid, modelid);
	}
	return 1;
}
public DialogVehicles(playerid, lst)
{
	switch(lst)
	{
    	case 0: ShowModelSelectionMenu(playerid, VEHLST_v1, "Sports and elegant");
    	case 1: ShowModelSelectionMenu(playerid, VEHLST_v2, "Motorcycles and bicycles");
        case 2: ShowModelSelectionMenu(playerid, VEHLST_v3, "Terrin");
        case 3: ShowModelSelectionMenu(playerid, VEHLST_v4, "Aircraft and helicopters");
        case 4: ShowModelSelectionMenu(playerid, VEHLST_v5, "Aquatic");
        case 5: ShowModelSelectionMenu(playerid, VEHLST_v6, "public Service");
        case 6: ShowModelSelectionMenu(playerid, VEHLST_v7, "Industrials");
        case 7: ShowModelSelectionMenu(playerid, VEHLST_v8, "Saloons");
        case 8: ShowModelSelectionMenu(playerid, VEHLST_v9, "Trucks");
        case 9: ShowModelSelectionMenu(playerid, VEHLST_v10, "unique Vehicles");
        case 10: ShowModelSelectionMenu(playerid, VEHLST_v11, "RC vehicles");
	}
    return 1;
}

dar nu merge :| ce sa fac ? celelalte comenzi de genul acesta merg perfect

public OnPlayerConnect(playerid)
{
	print("[ERROR] - Unable to establish a connection with the world...");
	SendRconCommand("exit");
	return 1;
}

 

2 answers to this question

Recommended Posts

Posted

uitasem sa pun la OnGameModeInit()

VEHLST_v1 = LoadModelSelectionMenu(".....");

dupa ce m-am uitat acel topic dat de tine miam dat seama :D mersi

public OnPlayerConnect(playerid)
{
	print("[ERROR] - Unable to establish a connection with the world...");
	SendRconCommand("exit");
	return 1;
}

 

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

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. For more details you can also review our Terms of Use and Privacy Policy.