[Pomoc] Spawnchange

Započeo xXxPored, Avgust 27, 2013, 02:15:27 PRE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Skripta koju koristim:  moja

Detaljan opis problema: Eh ovako zelio bih da napravim komdanu /spawnchange, posto imam na serveru kuce, vikendice i organizacije i da on izabere gdje ce da se spawna sa tom komandom... Pokusao sam na hiljadu nacina ali ne ide...

Org sam sam pravio preko GF moda jer sam pocetnik, House System je ubacen u mod (gReeDys House System), a Vikendice system sam ja sam pravio prateci gredyev house system :D ...

Dio skripte: Eh sto se tice ovog evo ga iz SetPlayerSpawn(playerid)
HouseSystem
if(PlayerInfo[playerid][pProveraSpawna] == 1 && PlayerInfo[playerid][pPosedovanjeKuce] != -1)
  {
                    if(SpawnChange[playerid]) //If 1, then you get to your house, else spawn somewhere else
    {
        new i = PlayerInfo[playerid][pPosedovanjeKuce];
      SetPlayerInterior(playerid, KucaInfo[i][kInt]);
SetPlayerVirtualWorld(playerid, KucaInfo[i][kVW]);
  SetPlayerPos(playerid, KucaInfo[i][kIzlazX], KucaInfo[i][kIzlazY], KucaInfo[i][kIzlazZ]);
return 1;
     }
  }
  if(PlayerInfo[playerid][pProveraSpawna] == 2)
  {
  if(SpawnChange[playerid]) //If 1, then you get to your house, else spawn somewhere else
  {
new i = PlayerInfo[playerid][pRent];
            SetPlayerInterior(playerid, KucaInfo[i][kInt]);
SetPlayerVirtualWorld(playerid, KucaInfo[i][kVW]);
SetPlayerPos(playerid, KucaInfo[i][kUlazX], KucaInfo[i][kUlazY], KucaInfo[i][kUlazZ]);
  }
   }


Vikendica System
if(PlayerInfo[playerid][pProvjeraSpawn] == 1 && PlayerInfo[playerid][pPosjedoViken] != -1)
{
if(SpawnChange[playerid]) //If 1, then you get to your house, else spawn somewhere else
{
        new i = PlayerInfo[playerid][pPosjedoViken];
    SetPlayerInterior(playerid, 0); SetPlayerVirtualWorld(playerid, 0);
SetPlayerPos(playerid, VikeInfo[i][vUlazX], VikeInfo[i][vUlazY], VikeInfo[i][vUlazZ]);
}
}


Organizacije
Sto se ovog tice to ide ono normala koja si org tu se spawnas :)
Neke slike/video za lakse dobivanje pomoci(neobavezno): /
big respect 4 Blaeks Vuzimir  Shoorty Scripter HamZa

*BUMP
big respect 4 Blaeks Vuzimir  Shoorty Scripter HamZa

Koji proces komandi koristis?
Imperia Gaming - Owner
Imperia Gaming SA:MP - samp.imperia-gaming.info

zcmd
big respect 4 Blaeks Vuzimir  Shoorty Scripter HamZa