My car diliver work but yellow marker not!
#1

Hello everyone i have my own real life roleplaying script!
But my car diliver not work i get an message ingame. with Car Expor: take the car and diliver to red marker u wil earn (Money) but when i see it i look at the radar and i dont see the yellow marker!
can some one help me with this? i have cashbox and the casbox work great! but car diliver not here u get my car diliver script help me pls!
Код:
     if(MissionActive == 2)
    {
        if(MissionInUse[2] == 1)
    {
      if(GetPlayerVehicleID(playerid) == SearchedVehicle)
            {
          format(string, sizeof(string), "~y~Congratulations!~n~~w~You finished your mission~n~~g~Reward: $%d,-", RandomCarMissionMoney);
          GameTextForPlayer(playerid, string, 5000, 4);
          PlaySoundForPlayer(playerid, 1139);
          GivePlayerMoney(playerid, RandomCarMissionMoney);
          format(string, sizeof(string), "%s Has delivered the %s and earned $%d,-!", PlayerName[playerid], VehicleName[GetVehicleModel(SearchedVehicle)-400], RandomCarMissionMoney);
          SendClientMessageToAll(COLOR_YELLOW, string);
          MissionActive ++;
          ResetMissions();
          SendPlayerMissionfinished(playerid, 2, RandomCarMissionMoney);
            }
        }
        return 1;
    }
    return 1;
}

public OnPlayerLeaveCheckpoint(playerid)
{  if(pdebug == 1){printf("[DEBUG] OnPlayerLeaveCheckpoint(%d)", playerid);}
  return 1;
}

public SendPlayerMissionfinished(playerid, kind, price)
{  if(pdebug == 1){printf("[DEBUG] SendPlayerMissionfinished(%d, %d, %d)", playerid, kind, price);}

    new string[128];
    if(kind == 1)
    {
    SendClientMessage(playerid, COLOR_BLUE, "_______< Mission: Cashbox >________");
  }
  if(kind == 2)
    {
      SendClientMessage(playerid, COLOR_BLUE, "_______< Mission: Car Export >________");
    }
    GivePlayerOneExp(playerid);
    SendClientMessage(playerid, COLOR_GREY, " Exp: +1");
    format(string, sizeof(string), " Money: +$%d,-", price);
    SendClientMessage(playerid, COLOR_GREY, string);
    SendClientMessage(playerid, COLOR_WHITE, "|--------------------------------------------------|");
    format(string, sizeof(string), " New Level: %d, New Exp: %d", PlayerInfo[playerid][pLevel], PlayerInfo[playerid][pExp]);
    SendClientMessage(playerid, COLOR_GREY, string);
    format(string, sizeof(string), " New Money: $%d,-", GetPlayerMoney(playerid));
    SendClientMessage(playerid, COLOR_GREY, string);
  SendClientMessage(playerid, COLOR_BLUE, "________________________________");
  SetPlayerCrime(playerid, "doing illegal mission(s).", true, true);
  return 1;
}
Reply


Messages In This Thread
My car diliver work but yellow marker not! - by Mkb122 - 03.11.2009, 13:14
Re: My car diliver work but yellow marker not! - by Sergei - 03.11.2009, 13:39
Re: My car diliver work but yellow marker not! - by Mkb122 - 07.11.2009, 10:33
Re: My car diliver work but yellow marker not! - by GforceNL - 08.11.2009, 12:33
Re: My car diliver work but yellow marker not! - by dearMonkey - 08.11.2009, 17:38

Forum Jump:


Users browsing this thread: 1 Guest(s)