Need help[Pickup problem]!!!
#1

OK,so for instance,I have just finished with a team for the server,ROBBERS.I was so proud to find out that everything works perfectly,and I never asked for help here,related to things belonging to this team.And then I wanted to add a pickup for a mission,it fkin messed up everyhting(it's not a rlly huge problem,but I am rlly pissed off about this,I don't see problem).So,when the player picks up the mission pickup,everything is still fine.But when the player is in no mission,if he goes to rob a shop,when he enters the pickup to enter that shop,it works fine,but togheter with that it says that he picked the mission pickup also(wich is id 8,after pickup,it vanishes forever ever) and the shop entry is id 1 (always exists).It only happens to a specific shop,and I don't know why,in additoon to this I dont feel like taking out the shop of the script,OR the mission.It is like the two icons interfere between them,and I don;'t see why (.Here is code to be specific

pawn Код:
if(pickupid == ewsp)
    {
       SetPlayerPos(playerid,373.825653,-117.270904,1001.499511);
       SetPlayerInterior(playerid,5);
       gWSP[playerid] = 1;
    }//the shop icon

    if(pickupid == suitcase)
    {
      GameTextForPlayer(playerid,"You found the suitcase.Mission Passed!!!",7500,4);
      SetPlayerScore(playerid,GetPlayerScore(playerid) + 2);
      GivePlayerMoney(playerid,2000);
      DestroyPickup(suitcase);
      RemovePlayerMapIcon(playerid,0);
      PhoneCall[playerid] = 0;
      SetPVarInt(playerid,"Missions",GetPVarInt(playerid,"Missions")+1);
      PlayerPlaySound(playerid,1149,0,0,0);
    }//the mission pickup
I even tried to set different virtual wrold IDs for each pickup,still,the shop pickup interferres with the mission pickup,and fortunately not viceversa also.If I take out the mission pickup,the shop wroks fine again HELP
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)