[Solved]1 error in my command
#7

pawn Код:
if(strcmp(cmd, "/t2", true) == 0 || strcmp(cmd, "/tv2", true) == 0)
{
  for(new player = 0; player < GetMaxPlayers(); player++)
  {
    if(IsPlayerInAnyVehicle(player)) unwanted[GetPlayerVehicleID(player)] = true;
  }
  new
      keyr = PlayerInfo[playerid][pky2];
  if(keyr != 999)
  {
    if(!unwanted[keycar])
    {
      SetVehicleToRespawn(keyr);
      GivePlayerMoney(playerid, -8000);
    }
    else SendClientMessage(playerid, COLOR_WHITE, "* vehicle is in use");
  }
  return true;
}
Reply


Messages In This Thread
[Solved]1 error in my command - by ArTisT - 29.04.2010, 13:29
Re: [HELP]1 error in my command - by Correlli - 29.04.2010, 13:31
Re: [HELP]1 error in my command - by ArTisT - 29.04.2010, 13:35
Re: [HELP]1 error in my command - by Correlli - 29.04.2010, 13:40
Re: [HELP]1 error in my command - by ArTisT - 29.04.2010, 13:42
Re: [HELP]1 error in my command - by ArTisT - 29.04.2010, 13:58
Re: [HELP]1 error in my command - by Correlli - 29.04.2010, 14:05
Re: [Solved]1 error in my command - by ArTisT - 29.04.2010, 14:16

Forum Jump:


Users browsing this thread: 1 Guest(s)