Privatecars lend not working properly
#1

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;
    }
  }
}
Thats the main bit of my lendcar, And if i lend a person on server my car, it lends them it,
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?
Reply


Messages In This Thread
Privatecars lend not working properly - by Torran - 03.03.2010, 13:21
Re: Privatecars lend not working properly - by Miguel - 03.03.2010, 13:39
Re: Privatecars lend not working properly - by Torran - 03.03.2010, 14:00

Forum Jump:


Users browsing this thread: 3 Guest(s)