sto nije uredu

Započeo MosT_WanteD, Avgust 16, 2010, 20:12:52 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

public OnPlayerSpawn(playerid)
{
   if (gdebug >=1){printf("OnPlayerSpawn Playerid:-1417.0,-295.8,14.1", playerid);}
   if (teamcarlock)
   {
      TeamLockDoors(playerid);
   }
   InitLockDoors(playerid);
   if(accountplay)
   {
      if (gdebug >=1){printf("accountplay");}
      if (gPlayerAccount[playerid] == 0)
      {
         gTeam[playerid] = 0;
         GameTextForPlayer(playerid, "~w~Dobrodosli na CrazY BalkaN [DM].~n~za igranje molimo kreirajte account, upisi ~n~~r~/regnick (password)~w~ za registraciju", 20000, 3);
         //SetPlayerInterior(playerid,0);
         SetPlayerInterior(playerid,3);
         PlayerInfo[playerid][pInt] = 3;
         SetPlayerPos(playerid,-1417.0,-295.8,14.1);
         // airport
         PlayJailSound(1153 , 1154, 2000,264.395200, 77.564040, 1001.039000);
         gPlayerSpawned[playerid] = 1;
          return 1;
      }
      if (gPlayerLogged[playerid] == 0)
      {
         gTeam[playerid] = 0;
         GameTextForPlayer(playerid, "~w~Za igranje se trebas logirati, upisis ~n~~g~/login (password)~w~ da se logiras na server", 20000, 3);
         //SetPlayerInterior(playerid,0);
         SetPlayerInterior(playerid,3);
         PlayerInfo[playerid][pInt] = 3;
         SetPlayerPos(playerid,-1417.0,-295.8,14.1);
         // airport
         PlayJailSound(1153 , 1154, 2000,264.395200, 77.564040, 1001.039000);
         gPlayerSpawned[playerid] = 1;
          return 1;
      }
   }
   if (gPlayerSpawned[playerid] == 0)
   {
      gTeam[playerid] = PlayerInfo[playerid][pTeam];
      if (gTeam[playerid] == 2 && forceteam && CopCheck(playerid))
      {
         gTeam[playerid] = 3;
         PlayerInfo[playerid][pTeam] = 3;
         SetPlayerRandomSpawn(playerid);
         SendClientMessage(playerid, COLOR_YELLOW, "CrazY BalkaN [DM]: Nije ti dozvoljeno da budes policajac.");
      }
      if (gTeam[playerid] == 1 && forceteam && MedCheck(playerid))
      {
         gTeam[playerid] = 3;
         PlayerInfo[playerid][pTeam] = 3;
         SetPlayerRandomSpawn(playerid);
         SendClientMessage(playerid, COLOR_YELLOW, "CrazY BalkaN [DM]: Nije ti dozvoljeno da budes bolnicar.");
      }
      if (gTeam[playerid] == 4)
      {
         gTeam[playerid] = PlayerInfo[playerid][pTeam];
      }
      SetPlayerRandomSpawn(playerid);
      if (gdebug){printf("DEBUG id = %d gTeam = %d",playerid,gTeam[playerid]);}

   }
   return 1;
}
e vako sam iskriptao i kada udem na server porta me na centar mape tj ovdje http://yfrog.com/0fsamp018dip
ja mislim da je nes do interijora jer kad udem sa chitom i idem teleport interijor porta me na ovo mjesto na slici
LOL


To ni ja ne razumem. Svi mi vidimo tu temu, ko će naći rešenje, odgovoriće ti ... strpi se malo.

sory mislio sam da neki nisu pogledali :-[
LOL