Üzenetek megjelenítése

Ez a szekció lehetővé teszi a felhasználó által írt összes hozzászólás megtekintését. Vedd figyelembe, hogy csak azokba a fórumokba írt hozzászólásokat látod, amelyekhez hozzáférésed van.


Üzenetek - attila91

Oldalak: 1 2 [3] 4 5 ... 10
31
Szkript kérések / Szerver resi
« Dátum: 2012. November 25. - 13:12:09 »
még szép h nem jó oxford módbol van kioperálva..

32
Segítségkérés / Run time error 4: "Array index out of bounds"
« Dátum: 2012. Október 07. - 13:12:42 »
for(new i = 0; i <= MAX_PLAYERS; i++)

 Helyett
for(new i = 0; i <MAX_PLAYERS;i++)

 Igy jólesz.  :whistle:

33
Segítségkérés / Run time error 4: "Array index out of bounds"
« Dátum: 2012. Október 07. - 10:14:55 »
Erre fele keresgélj ...
public vitals()

34
Segítségkérés / ADMINOK: miért nem irja ki?
« Dátum: 2012. Október 03. - 19:12:47 »
   if (strcmp(cmd, \"/adminok\", true) == 0)
{
        if(IsPlayerConnected(playerid))
    {
            new nev[32];
   GetPlayerName(playerid, nev, sizeof(nev));
   new h,mi,s,y,m,d;
   getdate(y,m,d);
   gettime(h,mi,s);
   format(stringx,sizeof(stringx), \"[%d/%d/%d][%d:%d:%d] %s beírta a /adminok parancsot\",y,m,d,h,mi,s,nev);
   LoOoG(stringx);
        SendClientMessage(playerid, COLOR_WHITE, \"\");
        SendClientMessage(playerid, COLOR_WHITE, \"Elérhetõ Adminok:\");
   for(new i = 0; i < MAX_PLAYERS; i++)
   {
      if(IsPlayerConnected(i))
      {
          GetPlayerName(i, nev, sizeof(nev));
              if(strcmp(nev, \"Wasd_Man\", true) == 0 || strcmp(nev, \"Asd_Ask\", true) == 0)
              {
              }
              else
              {
             if(Admin(i, 1) && PlayerInfo[pAdmin] <= 5 && PlayerInfo[rejtozes] == 0)
             {
                 new admtext[64];
                 if (PlayerInfo[pAdmin] == 5) { admtext = \"Tulaj/Scripter\"; }
                  else if(PlayerInfo[pAdmin] == 4) { admtext = \"Tulaj/Mapper\"; }
               else if(PlayerInfo[pAdmin] == 3) { admtext = \"3* Fõadmin\"; }
               else if(PlayerInfo[pAdmin] == 2)   { admtext = \"2*\"; }
               else if(PlayerInfo[pAdmin] == 1) { admtext = \"1*\"; }
               else { admtext = \"-\"; }
               GetPlayerName(i, sendername, sizeof(sendername));
               if(AdminDuty == 0)
               {
                  format(string, 256, \"%s ( %s )\", sendername, admtext);
                  SendClientMessage(playerid, COLOR_YELLOW2, string);
               }
               else
               {
                   format(string, 256, \"%s ( %s )\", sendername, admtext);
                  SendClientMessage(playerid, COLOR_YELLOW2, string);
               }
            }
         }
      }
   }
   SendClientMessage(playerid, COLOR_WHITE, \"Elérhetõ Adminsegédek:\");
   for(new i = 0; i < MAX_PLAYERS; i++)
   {
      if(IsPlayerConnected(i))
      {
          if(PlayerInfo[pHelper] >= 1 || PlayerInfo[orokas] >= 1)
          {
            GetPlayerName(i, sendername, sizeof(sendername));
            if(AdminDuty == 0)
            {
               format(string, 256, \"%s\", sendername);
               SendClientMessage(playerid, COLOR_YELLOW2, string);
            }
            else
            {
                format(string, 256, \"%s\", sendername);
               SendClientMessage(playerid, COLOR_YELLOW2, string);
            }
         }
      }
   }
   SendClientMessage(playerid, COLOR_WHITE, \"\");
}
return 1;
}

 
tessék admin rangok nevét ird átt..

35
Segítségkérés / ADMINOK: miért nem irja ki?
« Dátum: 2012. Október 03. - 18:32:11 »
Töröld ki a neved,és irj be valami hülyeséget
 if(strcmp(nev, \"Fazakas_Szabolcs\", true) == 0)

 -Innen és úgy próbáld meg.

36
Segítségkérés / Anim
« Dátum: 2012. Október 02. - 19:03:45 »
Ha jól tudom
 
ClearAnimations(playerid);

37
SA-MP: Szerverfejlesztés / SongSystem by SkillZ
« Dátum: 2012. Szeptember 30. - 21:18:15 »
hali,feltudnád rakni data.hu-ra?

38
SA-MP: Szerverfejlesztés / Server monitor
« Dátum: 2012. Szeptember 22. - 13:29:41 »
Köszi!

39
SA-MP: Szerverfejlesztés / Server monitor
« Dátum: 2012. Szeptember 20. - 20:47:45 »
Hali,feltudnád rakni másik tárhelyre nekem nem enged semmit letölteni soldi-ról.:/

40
Üdv nekem ez valamiért nemjó..
Ezt az admin cp-nél kapom
 
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /var/www/szerver/server1/admincp/playerpage.php:2) in /var/www/szerver/server1/admincp/crypting.php on line 2
Warning: Cannot modify header information - headers already sent by (output started at /var/www/szerver/server1/admincp/playerpage.php:2) in /var/www/szerver/server1/admincp/playerpage.php on line 6
Ezt meg az usercp-nél
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /var/www/szerver/server1/KISUCP/login.php:4) in /var/www/szerver/server1/KISUCP/login.php on line 41
És ezt a rendszergazda cp-nél
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /var/www/bucsi11/server1/rendszergazdacp/config.php:28) in /var/www/bucsi11/server1/rendszergazdacp/core.php on line 8
Warning: Cannot modify header information - headers already sent by (output started at /var/www/szerver/server1/rendszergazdacp/config.php:28) in /var/www/szerver/server1/rendszergazdacp/admin/index.php on line 5
Atiranyitas...

41
Segítségkérés / Házrendszer
« Dátum: 2012. Augusztus 07. - 13:33:10 »
leirnád hogy gondolod?

42
Segítségkérés / Házrendszer
« Dátum: 2012. Augusztus 07. - 11:24:58 »
tudom de már áttirtam azokra a mappákra de úgy se jó

43
Segítségkérés / Házrendszer
« Dátum: 2012. Augusztus 06. - 22:25:29 »
Van a scriptfiles/cfg-k/hazak/1-150.ini ezekbe vannak kordináták háztulajok nevei de viszont restart után elvésznek a házak

44
Segítségkérés / Házrendszer
« Dátum: 2012. Augusztus 06. - 19:02:38 »
Üdv megvan nekem a oxfordrpg mod de restartnál elvesznek a házak mi lehet a gond?
 
public LoadProperty()
{
    new arrCoords[31][64];
    new strFromFile2[256];
    new File: file = fopen(\"cfg-k/hazak.cfg\", io_read);
    if (file)
    {
        new idx;
        while (idx < sizeof(HouseInfo))
        {
            fread(file, strFromFile2);
            split(strFromFile2, arrCoords, \',\');
            HouseInfo[idx][hEntrancex] = floatstr(arrCoords[0]);
            HouseInfo[idx][hEntrancey] = floatstr(arrCoords[1]);
            HouseInfo[idx][hEntrancez] = floatstr(arrCoords[2]);
            HouseInfo[idx][hExitx] = floatstr(arrCoords[3]);
            HouseInfo[idx][hExity] = floatstr(arrCoords[4]);
            HouseInfo[idx][hExitz] = floatstr(arrCoords[5]);
            HouseInfo[idx][hHealthx] = strval(arrCoords[6]);
            HouseInfo[idx][hHealthy] = strval(arrCoords[7]);
            HouseInfo[idx][hHealthz] = strval(arrCoords[8]);
            HouseInfo[idx][hArmourx] = strval(arrCoords[9]);
            HouseInfo[idx][hArmoury] = strval(arrCoords[10]);
            HouseInfo[idx][hArmourz] = strval(arrCoords[11]);
            //printf(\"HouseInfo hEntrancez %f\",HouseInfo[idx][hEntrancez]);
            strmid(HouseInfo[idx][hOwner], arrCoords[12], 0, strlen(arrCoords[12]), 255);
            strmid(HouseInfo[idx][hDiscription], arrCoords[13], 0, strlen(arrCoords[13]), 255);
            HouseInfo[idx][hValue] = strval(arrCoords[14]);
            HouseInfo[idx][hHel] = strval(arrCoords[15]);
            HouseInfo[idx][hArm] = strval(arrCoords[16]);
            HouseInfo[idx][hInt] = strval(arrCoords[17]);
            HouseInfo[idx][hLock] = strval(arrCoords[18]);
            HouseInfo[idx][hOwned] = strval(arrCoords[19]);
            HouseInfo[idx][hRooms] = strval(arrCoords[20]);
            HouseInfo[idx][hRent] = strval(arrCoords[21]);
            HouseInfo[idx][hRentabil] = strval(arrCoords[22]);
            HouseInfo[idx][hTakings] = strval(arrCoords[23]);
            HouseInfo[idx][hVec] = strval(arrCoords[24]);
            if(HouseInfo[idx][hVec] == 457)
            {
                HouseInfo[idx][hVec] = 411;
            }
            HouseInfo[idx][hVcol1] = strval(arrCoords[25]);
            HouseInfo[idx][hVcol2] = strval(arrCoords[26]);
            HouseInfo[idx][hDate] = strval(arrCoords[27]);
            HouseInfo[idx][hLevel] = strval(arrCoords[28]);
            HouseInfo[idx][hWorld] = strval(arrCoords[29]);
            HouseInfo[idx][Van] = strval(arrCoords[30]);
            printf(\"HazID: %d Tulaj: %s %s\",idx,HouseInfo[idx][hOwner],HouseInfo[idx][hDiscription]);
            idx++;
        }
        fclose(file);
    }
    return 1;
}
public SaveProperty()
{
    new idx;
    new File: file2;
    while (idx < sizeof(HouseInfo))
    {
        new coordsstring[256];
        format(coordsstring, sizeof(coordsstring), \"%d,%f,%f,%f,%f,%d,%d,%s,%s,%d,%d,%d,%d,%s,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d\\n\",
        HouseInfo[idx][hEntrancex],
        HouseInfo[idx][hEntrancey],
        HouseInfo[idx][hEntrancez],
        HouseInfo[idx][hExitx],
        HouseInfo[idx][hExity],
        HouseInfo[idx][hExitz],
        HouseInfo[idx][hHealthx],
        HouseInfo[idx][hHealthy],
        HouseInfo[idx][hHealthz],
        HouseInfo[idx][hArmourx],
        HouseInfo[idx][hArmoury],
        HouseInfo[idx][hArmourz],
        HouseInfo[idx][hOwner],
        HouseInfo[idx][hDiscription],
        HouseInfo[idx][hValue],
        HouseInfo[idx][hHel],
        HouseInfo[idx][hArm],
        HouseInfo[idx][hInt],
        HouseInfo[idx][hLock],
        HouseInfo[idx][hOwned],
        HouseInfo[idx][hRooms],
        HouseInfo[idx][hRent],
        HouseInfo[idx][hRentabil],
        HouseInfo[idx][hTakings],
        HouseInfo[idx][hVec],
        HouseInfo[idx][hVcol1],
        HouseInfo[idx][hVcol2],
        HouseInfo[idx][hDate],
        HouseInfo[idx][hLevel],
        HouseInfo[idx][hWorld],
        HouseInfo[idx][Van]);
        HouseInfo[idx][hWorld] = idx;
        if(idx == 0)
        {
            file2 = fopen(\"cfg-k/hazak.cfg\", io_write);
        }
        else
        {
            file2 = fopen(\"cfg-k/hazak.cfg\", io_append);
        }
        fwrite(file2, coordsstring);
        idx++;
        fclose(file2);
    }
    return 1;
}

45
SA-MP: Szerverfejlesztés / [MYSQL] KaPlaylist[2.0]
« Dátum: 2012. Július 23. - 10:38:20 »
Kössz!

Oldalak: 1 2 [3] 4 5 ... 10
SimplePortal 2.3.7 © 2008-2024, SimplePortal