[Pomoc] Kuce

Započeo ceLL_, Oktobar 26, 2010, 20:04:12 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Ovako:

Verovatno imam vise kuca sa istim interierom..E sad ja sam kupio jednu kucu da isprobam da li sve radi ..I super sve..! Nego kad izlazim napolje on me stvori ispred neke desete kuce.Verovatno jer su isti interieri

Kako to da resim,kada vise kuca ima isti interier ???
â"Œâˆ©â"(â—•_â—•)â"Œâˆ©â"

Respect to: (à¥"_à¥") - ČιѕÑ,σ яÑ"кяÑ"αÑ,ινησ - (à¥"_à¥") , [Saw]BloodMaster

â"Œâˆ©â"(â—£_â—¢)â"Œâˆ©â"

virtualworld.... sta drugo da ti kazem..

Znam da ima nesto stim..

Ali mozes malo pojasniti kako se to radi..
â"Œâˆ©â"(â—•_â—•)â"Œâˆ©â"

Respect to: (à¥"_à¥") - ČιѕÑ,σ яÑ"кяÑ"αÑ,ινησ - (à¥"_à¥") , [Saw]BloodMaster

â"Œâˆ©â"(â—£_â—¢)â"Œâˆ©â"

pretpostavljam da je mod GF??
ako jeste probaj ovako to resiti,nisam siguran da ces uspjeti,postoje mnogi nacini,mozda je jedan ovaj sto cu ti napisati dole..


if(strcmp(cmd,"/exit",true) == 0)
{

  for(new i=0; i<sizeof(HouseInfo); i++)
  {
    if(IsPlayerInRangeOfPoint(playerid,5.0,HouseInfo[i][hExitX],HouseInfo[i][hExitY],HouseInfo[i][hExitZ]) && GetPlayerVirtualWorld(playerid) == HouseInfo[i][hVirtualWorld])
{

  SetPlayerPos(playerid,HouseInfo[i][hEntranceX],HouseInfo[i][hEntranceY],HouseInfo[i][hEntranceZ]);
  SetPlayerVirtualWorld(playerid,0);
      SetPlayerInterior(playerid,0);
      return 1;
    }
  }
  return 1;
}

Jeste GF je.....

Evo meni kako je...


else if ((newkeys & KEY_SECONDARY_ATTACK))
    {
for(new i = 0; i <  sizeof(HouseInfo); i++)
{
//printf("House :%d",i);
if (PlayerToPoint(3, playerid,HouseInfo[i][hExitx], HouseInfo[i][hExity], HouseInfo[i][hExitz]))
{
SetPlayerInterior(playerid,0);
SetPlayerVirtualWorld(playerid,0);
SetPlayerPos(playerid,HouseInfo[i][hEntrancex],HouseInfo[i][hEntrancey],HouseInfo[i][hEntrancez]);
PlayerInfo[playerid][pInt] = 0;
PlayerInfo[playerid][pLocal] = 255;
SetPlayerVirtualWorld(playerid,0);
if(HouseInfo[i][hHel] == 1)
{
new Float:tempheal;
GetPlayerHealth(playerid,tempheal);
if(tempheal < 100.0)
{
SetPlayerHealth(playerid,100.0);
}

}
}
}
}
â"Œâˆ©â"(â—•_â—•)â"Œâˆ©â"

Respect to: (à¥"_à¥") - ČιѕÑ,σ яÑ"кяÑ"αÑ,ινησ - (à¥"_à¥") , [Saw]BloodMaster

â"Œâˆ©â"(â—£_â—¢)â"Œâˆ©â"

probaj ovako al ovo ti je vjerovatnost da ce raditi 5% :D

else if ((newkeys & KEY_SECONDARY_ATTACK))
{

  for(new i=0; i<sizeof(HouseInfo); i++)
  {
    if(IsPlayerInRangeOfPoint(playerid,5.0,HouseInfo[i][hExitX],HouseInfo[i][hExitY],HouseInfo[i][hExitZ]) && GetPlayerVirtualWorld(playerid) == HouseInfo[i][hVirtualWorld])
{

  SetPlayerPos(playerid,HouseInfo[i][hEntranceX],HouseInfo[i][hEntranceY],HouseInfo[i][hEntranceZ]);
  SetPlayerVirtualWorld(playerid,0);
      SetPlayerInterior(playerid,0);
      return 1;
    }
}
}


A i neda mi se raditi vise nista u vezi GFa...

ne radi...
â"Œâˆ©â"(â—•_â—•)â"Œâˆ©â"

Respect to: (à¥"_à¥") - ČιѕÑ,σ яÑ"кяÑ"αÑ,ινησ - (à¥"_à¥") , [Saw]BloodMaster

â"Œâˆ©â"(â—£_â—¢)â"Œâˆ©â"

sad sam dokazao da je 95% jace od 5%.. xD

Ali i u onoj mojoj komandi ima za VirtualWorld...Trebalo bi da radi jbt...  :/

ipak ti Hvala sto si hteo pomoci.. ;)
â"Œâˆ©â"(â—•_â—•)â"Œâˆ©â"

Respect to: (à¥"_à¥") - ČιѕÑ,σ яÑ"кяÑ"αÑ,ινησ - (à¥"_à¥") , [Saw]BloodMaster

â"Œâˆ©â"(â—£_â—¢)â"Œâˆ©â"