03.03.2010, 17:55
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:
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");