[Pomoc] Oko HQ-a/headquartera

Započeo Zlatan_Ibrahimovic, Septembar 20, 2010, 07:07:10 PRE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Zlatan_Ibrahimovic

ovako...ja zelim napraviti hq/headquarters ali ne mogu skontati kako sve ide pa da vas pitam kako se to radi,u svom modu imam i primjer...a u njih je taj hq nekako poseban...cim doces do nekog mjesta...automatski udes u hq,ako si clan te org/bande....evo i primjer od neke org

PRIMJER

Citat//Secret Intelligence Service*********************************************************************************
   if(PlayerInfo[playerid][pMember] == 3 || PlayerInfo[playerid][pLeader] == 3 || PlayerInfo[playerid][pMember] == 1 || PlayerInfo[playerid][pLeader] == 1 || PlayerInfo[playerid][pMember] == 2 || PlayerInfo[playerid][pLeader] == 2)
      {
         SetPlayerPos(playerid, 1298.8679,-792.9488,1084.0078);
         GameTextForPlayer(playerid, "~w~Secret Intelligence Service",5000,1);
         SetPlayerInterior(playerid,5);
         SetPlayerFacingAngle(playerid, 90);
         PlayerInfo[playerid][pInt] = 5;
      }
      else if(hqlock[iolock] == 1)
      {
          SetPlayerPos(playerid, 1298.8679,-792.9488,1084.0078);
         GameTextForPlayer(playerid, "~w~Secret Intelligence Service",5000,1);
         SetPlayerInterior(playerid,5);
         SetPlayerFacingAngle(playerid, 90);
         PlayerInfo[playerid][pInt] = 5;
      }
      else
      {
          GameTextForPlayer(playerid, "~r~Ulaz zabranjen !",5000,1);
      }
   }
   else if (PlayerToPointStripped(1.5, playerid,1298.8507,-797.0130,1084.0078, cx,cy,cz))
   {
      //Secret Intelligence Service izlaz
      SetPlayerPos(playerid, 1126.6790,-2037.3330,69.8835);
      GameTextForPlayer(playerid, "~w~Los Santos",5000,1);
      SetPlayerInterior(playerid,0);
      SetPlayerFacingAngle(playerid, 0);
      PlayerInfo[playerid][pInt] = 0;
   }
   else if (PlayerToPointStripped(1, playerid,1111.9219,-1795.2560,16.5938, cx,cy,cz))
   {


I evo moje koordinate od mjesta sto sam htio da bude izlaz i ulaz

AddPlayerClass(0,2216.3401,-1150.5100,1025.7969,270.0000,0,0,0,0,0,0); // izlaz (izlaz je unutra)
AddPlayerClass(0,2230.7883,-1159.5709,25.8253,267.0116,0,0,0,0,0,0); // ulaz (ulaz je izvan)
AKO SAM NESTO POGRIJESIO ISPRAVITE ME! (izvinite na caps ali ozbiljno je)

trazilicu imas fala bogu, tutoriale imas fala bogu...e pa malo potrazi!!

Zlatan_Ibrahimovic

ima trazilica n00be ali nema onog sto trazim....!!!!!!!!!!!!!!!!!!!  >:(  >:(  >:(