03.03.2010, 13:21
pawn Код:
if(strcmp(playername, "Torran", false) == 0)
{
if(PlayerInfo[ClickedPlayer[playerid]][LendCarTorran] == 1) SendClientMessage(playerid, RED, "You have already lent your car to this player");
else {
if(PlayerInfo[ClickedPlayer[playerid]][LendCarTorran] == 0) {
PlayerInfo[ClickedPlayer[playerid]][LendCarTorran] = 1;
}
}
}
else if(strcmp(playername, "Nightmare", false) == 0)
{
if(PlayerInfo[ClickedPlayer[playerid]][LendCarCamron] == 1) SendClientMessage(playerid, RED, "You have already lent your car to this player");
else {
if(PlayerInfo[ClickedPlayer[playerid]][LendCarCamron] == 0) {
PlayerInfo[ClickedPlayer[playerid]][LendCarCamron] = 1;
}
}
}
And if i try lend them it again it should say you already lent your car to this player,
And well if i try lend it again it says that message, But it also says ive lent my car to this player,
Anyone know why?