Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if(dialogid == DIALOG_LINIEN)
- {
- if(response == 1)
- {
- switch(listitem)
- {
- case 0: // LINIE 1 - LS STADTLINIE I
- {
- TogglePlayerControllable(playerid, 0);
- SendClientMessage(playerid, COLOR_GREY, "[LS-PT]: Die Buslinie wird vorbereitet - bitte warte einen Moment.");
- SetTimerEx("Linie1Timer", 6500, false, "i", playerid);
- return 1;
- }
- case 1:
- {
- SendClientMessage(playerid, COLOR_RED, "[LS-PT]: Das Unternehmen hat diese Linie noch nicht freigeschaltet.");
- return 1;
- }
- case 2:
- {
- SendClientMessage(playerid, COLOR_RED, "[LS-PT]: Das Unternehmen hat diese Linie noch nicht freigeschaltet.");
- return 1;
- }
- }
- }
- if(response == 0)
- {
- new veh = GetPlayerVehicleID(playerid);
- SendClientMessage(playerid, COLOR_GREY, "[LS-PT]: Linienauswahl abgebrochen.");
- SetVehicleToRespawn(veh);
- TogglePlayerControllable(playerid, 1);
- return 1;
- }
- }
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement