Keeping the dialog open?
#1

Hello,

Im making a lend command into a dialog and if a player enters a invalid player id it sends a message INVALID PLAYER ID and then the dialog closes,
But how do i keep the dialog open?

Heres the messages bit of my code:

pawn Код:
if (PlayerInfo[playerid][OwnedCar] != 1) SendClientMessage(playerid, RED, "You are not authorized to use this command");
else if (sscanf(inputtext, "u", id)) SendClientMessage(playerid, RED, "Please enter a PlayerID/PartOfName");
else if (id == playerid) SendClientMessage(playerid, RED, "You cannot lend yourself a car");
else if (id == INVALID_PLAYER_ID) SendClientMessage(playerid, RED, "Player not Found");
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: 2 Guest(s)