Metin2 Karakterlere G�re Online Saya� (Lycan Dahil)


<?php include("online.php");
mysql_connect($dbhost,$dbuser,$dbpass);
mysql_select_db("player");
$savasci = mysql_query("SELECT COUNT(*) as count FROM player WHERE (job=0 or job=4) AND DATE_SUB(NOW(), INTERVAL 10 MINUTE) < last_play;");
$online_count = mysql_fetch_object($savasci)->count;
echo "Online Sava?c? Say?s? : $online_count"; ?>


Bu kodu Gerekecek Kadar Kopyalay?n yap??t?rn.

�rnek : Lycan karakterli swde 5 Defa gerekir

Kodlar �ak??mas?n diye " $savasci " bu kodu $ninja - $sura - $saman - $lycan diye Sayd?rmak istedi?iniz Karaktere g�re De?i?tirin

Kod 10 DK i�inde Online'a G�re ayarl?d?r istedi?iniz gibi ayarlay?n karakterlerin "job" Kodlar? Alttad?r

(job=0 or job=4) Sava?c?

(job=3 or job=7) ?aman

(job=1 or job=5) Ninja

(job=2 or job=6) Sura

(job=8) Lycan

Kolay GELS?N

online.php[ Dosyas?na Gereken Kodlar

<?php
$dbhost = "sunucuip"; // Serverinizin ?P Adresi.
$dbuser = "root"; // De?i?tirmeyin.
$dbpass = "dbsife"; // Navicat ?ifreniz.
$mysql_db = "account";
mysql_select_db("player");
?>



Yapamayanlar i�in Haz?r Kodlar

?aman

<?php include("online.php");
mysql_connect($dbhost,$dbuser,$dbpass);
mysql_select_db("player");
$saman = mysql_query("SELECT COUNT(*) as count FROM player WHERE (job=3 or job=7) AND DATE_SUB(NOW(), INTERVAL 10 MINUTE) < last_play;");
$online_count = mysql_fetch_object($saman)->count;
echo "Online ?aman Say?s? : $online_count"; ?>


Sava?c?

<?php include("online.php");
mysql_connect($dbhost,$dbuser,$dbpass);
mysql_select_db("player");
$savasci = mysql_query("SELECT COUNT(*) as count FROM player WHERE (job=0 or job=4) AND DATE_SUB(NOW(), INTERVAL 10 MINUTE) < last_play;");
$online_count = mysql_fetch_object($savasci)->count;
echo "Online Sava?c? Say?s? : $online_count"; ?>


Ninja

<?php include("online.php");
mysql_connect($dbhost,$dbuser,$dbpass);
mysql_select_db("player");
$ninja = mysql_query("SELECT COUNT(*) as count FROM player WHERE (job=1 or job=5) AND DATE_SUB(NOW(), INTERVAL 10 MINUTE) < last_play;");
$online_count = mysql_fetch_object($ninja)->count;
echo "Online Ninja Say?s? : $online_count"; ?>


Sura

<?php include("online.php");
mysql_connect($dbhost,$dbuser,$dbpass);
mysql_select_db("player");
$sura = mysql_query("SELECT COUNT(*) as count FROM player WHERE (job=2 or job=6) AND DATE_SUB(NOW(), INTERVAL 10 MINUTE) < last_play;");
$online_count = mysql_fetch_object($sura)->count;
echo "Online Sura Say?s? : $online_count"; ?>


Lycan

<?php include("online.php");
mysql_connect($dbhost,$dbuser,$dbpass);
mysql_select_db("player");
$sura = mysql_query("SELECT COUNT(*) as count FROM player WHERE (job=8) AND DATE_SUB(NOW(), INTERVAL 10 MINUTE) < last_play;");
$online_count = mysql_fetch_object($sura)->count;
echo "Online Lycan Say?s? : $online_count"; ?>


Demo Linki : PowerMt2

�n?zleme


Metin2 Karakterlere G�re Online Saya� (Lycan Dahil)

Metin2 Karakterlere G�re Online Saya� (Lycan Dahil) Reviewed by Blog on Nisan 28, 2015 Rating: 5

Hiç yorum yok:

All Rights Reserved by Blooglem 2021 © 2016 - 2017
Powered By

İletişim Formu

Ad

E-posta *

Mesaj *

Tema resimleri LordRunar tarafından tasarlanmıştır. Blogger tarafından desteklenmektedir.