Keeping the dialog open?
#6

pawn Код:
if (PlayerInfo[playerid][OwnedCar] != 1) ShowPlayerDialog(playerid, Lend, DIALOG_STYLE_INPUT, "Lend your Car", "ERROR: You are not authorized to use this!\n\nPlease input the PlayerID or PlayerName of the player you want to lend your car to.", "Select", "Cancel");
else if (sscanf(inputtext, "u", id)) ShowPlayerDialog(playerid, Lend, DIALOG_STYLE_INPUT, "Lend your Car", "ERROR: Please enter a PlayerID/PartOfName\n\nPlease input the PlayerID or PlayerName of the player you want to lend your car to.", "Select", "Cancel");
else if (id == playerid) ShowPlayerDialog(playerid, Lend, DIALOG_STYLE_INPUT, "Lend your Car", "ERROR: You cannot lend yourself a car\n\nPlease input the PlayerID or PlayerName of the player you want to lend your car to.", "Select", "Cancel");
else if (id == INVALID_PLAYER_ID) ShowPlayerDialog(playerid, Lend, DIALOG_STYLE_INPUT, "Lend your Car", "ERROR: Player not Found\n\nPlease input the PlayerID or PlayerName of the player you want to lend your car to.", "Select", "Cancel");
Something like this
Reply


Messages In This Thread
Keeping the dialog open? - by Torran - 03.03.2010, 17:55
Re: Keeping the dialog open? - by GhoulSlayeR - 03.03.2010, 17:58
Re: Keeping the dialog open? - by Torran - 03.03.2010, 18:11
Re: Keeping the dialog open? - by Rzzr - 03.03.2010, 18:13
Re: Keeping the dialog open? - by Torran - 03.03.2010, 18:19
Re: Keeping the dialog open? - by Rzzr - 03.03.2010, 18:23
Re: Keeping the dialog open? - by Torran - 03.03.2010, 18:27

Forum Jump:


Users browsing this thread: 1 Guest(s)