Konuyu Oyla:
  • Derecelendirme: 0/5 - 0 oy
  • 1
  • 2
  • 3
  • 4
  • 5
Empire Bay Canlı Harita
#1
Bu dağa beta sürümdür gelişebilir.
[Resim: 1361178930-hi6v.png]
Bu sunucudaki oyuncular, araba (ve daha fazlası!) Izlemek için web sitesine sağlayan bir PHP komut dosyası.
Demo: TIKLA
Daha iyi yapmak için bu komut dosyasını değiştirebilirsiniz.
Bu web sunucusu ve boş komut dosyası (indir) gerekir.
Blank squirrel script for update players/vehicles positions every 60 seconds (so, you need edit script to your web settings):


Kod:
local mapTimer;

function updateMap ()
{
 // clear map
 webRequest( HTTP_TYPE_GET, "http://master.squirrel.su", "/map/update.php?password=squirrel&clear=1", function(type,data,time) { });
 
 local query;
 // tag vehicles without driver (engine is off)
 for (local i = 0; i < 256; i++)
 {
   if( getVehicleModel ( i ) != 1001)
   {
    if( !getVehicleEngineState( i ) )
    {
    local pos = getVehiclePosition(i);
    query = "/map/update.php?password=squirrel&x[]=" + pos[0] + "&y[]=" + pos[1] + "&blip=2";
    webRequest( HTTP_TYPE_GET, "http://master.squirrel.su", query, function(type,data,time) { });
    }
  }
 }
 // tag players
 for (local i = 0; i < getMaxPlayers(); i++)
 {
  if (isPlayerConnected(i))
  {
   if (isPlayerSpawned(i))
   {
    local pos = getPlayerPosition(i);
    query = "/map/update.php?password=squirrel&x[]=" + pos[0] + "&y[]=" + pos[1] + "&blip=1";
    webRequest( HTTP_TYPE_GET, "http://master.squirrel.su", query, function(type,data,time) { });
   }
  }
 }
}

function scriptInit()
{
 mapTimer = timer( updateMap, 60000, -1);
}

addEventHandler( "onScriptInit", scriptInit );
Buğ vb durumları bildiriniz.
[Resim: 1233869.png]
Youtube Kanalım: TIKLA /\  İnternet hızım: TIKLA
Cevapla
#2
Şimdi bu dosyayı indirince n'apacaz?
Cevapla
#3
(04.08.2013, Saat:12:03)Sarge3852 Adlı Kullanıcıdan Alıntı: Şimdi bu dosyayı indirince n'apacaz?

Bu bir dosya değil bu servere eklenen bir Canlı harita taba basınca sizi gosteriyor nerede ws ws.
[Resim: 1233869.png]
Youtube Kanalım: TIKLA /\  İnternet hızım: TIKLA
Cevapla
#4
Haa

Ne zaman eklenecek?

[Z]'ye mi eklenecek?
Cevapla
#5
(04.08.2013, Saat:13:18)Sarge3852 Adlı Kullanıcıdan Alıntı: Haa

Ne zaman eklenecek?

[Z]'ye mi eklenecek?

Moda eklenebilir.
[Resim: 1233869.png]
Youtube Kanalım: TIKLA /\  İnternet hızım: TIKLA
Cevapla


Hızlı Menü:

MyBB SQL Error

MyBB has experienced an internal SQL error and cannot continue.

SQL Error:
1017 - Can't find file: './mafiatur_forumdb/mybb_threadviews.MYI' (errno: 2 "No such file or directory")
Query:
INSERT INTO mybb_threadviews (tid) VALUES('70')

If you're a visitor of this website, please wait a few minutes and try again. If this problem persists, please contact the site owner.

If you are the site owner, please check the MyBB Documentation for help resolving common issues, or get technical help on the MyBB Community Forums.