-
Posts
10,056 -
Joined
-
Last visited
-
Days Won
27
Everything posted by iPrestege
-
The player how click the image can't hear the sound?
-
لللآسف مدري وش فيه مآينزل لو ترفع على www.solidfiles.com أفضل + وش قصدك يعني لازم اغير البورت ولالا ؟ اذا تقدر تصلحة كامل البورت حقي : 2013 وانا احط لااي بي (=
-
Are you sure about the meta the file is exists ?
-
element playSound ( string soundPath, [ bool looped = false ] ) Read the wiki . @ Paplo: debugscript 3
-
تمام ! بس انا مايشتغل معي سويت ملف جديد بصيغة php وضفت الكود وفتحتة بـ opera يجي نفس الكود | = لو ترفع لي الملف أفضل
-
Try this : -- Client Side -- local lastTick = 0 -- Define a variable with the last tick count local toWait = 60000 -- Define a variable with the time needed to wait local Group = { { 100000 }, } addEventHandler ( "onClientGUIClick", guiRoot, function ( ) if ( source == GUIEditor.staticimage[2] ) then local money = 0 if ( source == GUIEditor.staticimage[2] ) then money = Group[1][1] end if ( getTickCount ( ) - lastTick >= toWait ) then -- Calculate how long it passed since last used and compare with required time to wait. if ( getPlayerMoney ( ) >= tonumber ( money ) ) then triggerServerEvent('SyncSound',localPlayer) lastTick = getTickCount ( ) else outputChatBox ( 'You Not Have Money', 255, 0, 0 ) end else outputChatBox ( "You must wait 60 seconds to use it again!", 255, 0, 0 ) end end end ) addEvent('ClientSyncSound',true) addEventHandler('ClientSyncSund',root, function ( ) if isElement ( sound ) then destroyElement ( sound ) sound = nil end sound = playSound ( "1.mp3", false ) end ) -- Server Side -- addEvent('SyncSound',true) addEventHandler('SyncSound',root, function ( ) triggerClientEvent ('ClientSyncSound',root) end )
-
You're not make a sense learn lua.
-
<? mta_getServer("176.9.173.137","2136"); function mta_getServer_process($dat) { if (substr($dat,0,4)=="EYE1") { $dat=substr($dat,4); $i=0; while($dat!="") { if (substr($dat,0,2)==chr(1)."?") { $dat=substr($dat,2); } $l=ord(substr($dat,0,1)); $blks[$i]=substr($dat,1,$l-1); $dat=substr($dat,$l); $i++; } echo "<b>$blks[0]</b><br /> <b>$blks[1]</b><br /> <b>$blks[2]</b><br /> <b>$blks[3]</b><br /> <b>$blks[4]</b><br /> <b>$blks[5]</b><br /> <b>$blks[6]</b><br /> <b>$blks[7]</b><br /> <b>$blks[8]</b>"; } return $ret; } function mta_getServer_send($fp) { fwrite($fp,"s"); } function mta_getServer($ip,$port) { $fp=fsockopen("udp://$ip", $port, $errno, $errstr); if (!$fp) { } else { stream_set_timeout($fp,1,0); mta_getServer_send($fp); $data=fread($fp,16384); fclose($fp); return mta_getServer_process($data); } } ?> هذي النتيجة
-
You're not getting any data .
-
ركبت الكود في صفحة html و php html : جاني الناتج : $blks[2]"; } return $ret; } function mta_getServer_send($fp) { fwrite($fp,"s"); } function mta_getServer($ip,$port) { $fp=fsockopen("udp://$ip", $port, $errno, $errstr); if (!$fp) { } else { stream_set_timeout($fp,1,0); mta_getServer_send($fp); $data=fread($fp,16384); fclose($fp); return mta_getServer_process($data); } } ?> ?> php : جا نفس الكلام
-
triggerServerEvent triggerClientEvent getRootElement or getElementsByType ( 'player' );
-
مافهمت يعني كذا بيتغير البورت
-
بجيب معلومات الروم الاعبين .. اسمة .. اي بي .. بورت ..ألخ
-
ضيف الكلام يوم يصير ستارت مع الانشاء ..
-
كلنت وبس لية كل هالحوسة يمدي تختصر اكثر+
-
thePlayer O_o = acc There's no need to check guest account.
-
معنا تصاريح كامل رسمية مرخصة منهم شآرينهآ (( = مآبها مشكلة ي عيآل
-
السلام عليكم و رحمة الله وبركآتة~ حاولت اتصل بسيرفري اجيب معلومات منة بس مدري وش فية او بمعنى اوضح مآعرفت اشغله استخدمة <? mta_getServer("5.45.176.200","2013"); function mta_getServer_process($dat) { if (substr($dat,0,4)=="EYE1") { $dat=substr($dat,4); $i=0; while($dat!="") { if (substr($dat,0,2)==chr(1)."?") { $dat=substr($dat,2); } $l=ord(substr($dat,0,1)); $blks[$i]=substr($dat,1,$l-1); $dat=substr($dat,$l); $i++; } $ret->gameshort=$blks[0]; $ret->port=$blks[1]; $ret->name=$blks[2]; $ret->rules['game']=$blks[3]; $ret->map=$blks[4]; $ret->rules['version']=$blks[5]; if ($blks[6]=="0") { $ret->public=1; } else { $ret->public=0; } $ret->players=$blks[7]; $ret->maxplayers=$blks[8]; $j=0; for ($i=11; $i<sizeof($blks)-2; $i=$i+5) { $ret->player[$j]->name=$blks[$i]; $ret->player[$j]->score=$blks[$i+3]; $ret->player[$j]->time=0; $j++; } } return $ret; } function mta_getServer_send($fp) { fwrite($fp,"s"); } function mta_getServer($ip,$port) { $fp=fsockopen("udp://$ip", $port, $errno, $errstr); if (!$fp) { } else { stream_set_timeout($fp,1,0); mta_getServer_send($fp); $data=fread($fp,16384); fclose($fp); return mta_getServer_process($data); } } يقدر احد يشرح لي او يعدلة كيف يستخدم عندي خادم خاص للصفحات ودومين ..بس ابي اطلع المعلومات واحطها بـ كلام او شيء مدري كيف ينوصف مآله خبره ذذ
-
Can anyone help to use this function i found it and you can get info about your mta server : <? mta_getServer("5.45.176.200","2013"); function mta_getServer_process($dat) { if (substr($dat,0,4)=="EYE1") { $dat=substr($dat,4); $i=0; while($dat!="") { if (substr($dat,0,2)==chr(1)."?") { $dat=substr($dat,2); } $l=ord(substr($dat,0,1)); $blks[$i]=substr($dat,1,$l-1); $dat=substr($dat,$l); $i++; } $ret->gameshort=$blks[0]; $ret->port=$blks[1]; $ret->name=$blks[2]; $ret->rules['game']=$blks[3]; $ret->map=$blks[4]; $ret->rules['version']=$blks[5]; if ($blks[6]=="0") { $ret->public=1; } else { $ret->public=0; } $ret->players=$blks[7]; $ret->maxplayers=$blks[8]; $j=0; for ($i=11; $i<sizeof($blks)-2; $i=$i+5) { $ret->player[$j]->name=$blks[$i]; $ret->player[$j]->score=$blks[$i+3]; $ret->player[$j]->time=0; $j++; } } return $ret; } function mta_getServer_send($fp) { fwrite($fp,"s"); } function mta_getServer($ip,$port) { $fp=fsockopen("udp://$ip", $port, $errno, $errstr); if (!$fp) { } else { stream_set_timeout($fp,1,0); mta_getServer_send($fp); $data=fread($fp,16384); fclose($fp); return mta_getServer_process($data); } }
-
-- # Client Side executeCommandHandler('hedit')
-
كوبي بست من حق سورآ ؟ ؟ انا قلت لبل اسهل ~_~ اوف وماستخدمت الحدث ذذ