22.03.2013, 09:02
Hey Guys,
help me.
i have this dialog :-
and its OnPlayerDialogResponse:-
i want a system that it should check that player have 10 scores to be Bus driver,25 to be Taxi driver and 50 to be Pilot.If they do not have that much score, send them message you need ... Scores to be ...
Please Help me
help me.
i have this dialog :-
Код:
ShowPlayerDialog(playerid, job, DIALOG_STYLE_LIST, "Life Of Transport - Select Job", "Trucker - 0\nBus Driver - 10\nTaxi Driver - 25\nPilot - 50", "Select", "Cancel");
Код:
if(dialogid == job) //If dialog id is a login dialog {//then if(!response) return Kick(playerid); //If they clicked the second button "Quit", we will kick them. if(response) //if they clicked the first button "Register" {//then if(listitem == 0) { SpawnPlayer(playerid); ShowPlayerDialog(playerid, trucker, DIALOG_STYLE_LIST, "Life Of Transport - Trucker Spawn", "Las Venturas Truck Stop\nSan Fierro Truck Stop\nLos Santos Truck Stop", "Select", "Cancel"); } else if(listitem == 1) { SpawnPlayer(playerid); ShowPlayerDialog(playerid, busdriver, DIALOG_STYLE_LIST, "Life Of Transport - Bus Driver Spawn", "Las Venturas Bus Depot\nSan Fierro Bus Depot\nLos Santos Bus Depot", "Select", "Cancel"); } else if(listitem == 2) { SpawnPlayer(playerid); ShowPlayerDialog(playerid, taxidriver, DIALOG_STYLE_LIST, "Life Of Transport - Taxi Driver Spawn", "Las Venturas\nSan Fierro\nLos Santos", "Select", "Cancel"); } else if(listitem == 1) { SpawnPlayer(playerid); ShowPlayerDialog(playerid, pilot, DIALOG_STYLE_LIST, "Life Of Transport - Pilot Spawn", "Las Venturas Airport\nSan Fierro Airport\nLos Santos Airport", "Select", "Cancel"); } } }
Please Help me