Jump to content

iPrestege

Members
  • Posts

    10,056
  • Joined

  • Last visited

  • Days Won

    27

Everything posted by iPrestege

  1. iPrestege

    help again

    The player how click the image can't hear the sound?
  2. لللآسف مدري وش فيه مآينزل لو ترفع على www.solidfiles.com أفضل + وش قصدك يعني لازم اغير البورت ولالا ؟ اذا تقدر تصلحة كامل البورت حقي : 2013 وانا احط لااي بي (=
  3. iPrestege

    help again

    Paplo it should work.
  4. iPrestege

    help again

    Are you sure about the meta the file is exists ?
  5. iPrestege

    help again

    element playSound ( string soundPath, [ bool looped = false ] ) Read the wiki . @ Paplo: debugscript 3
  6. تمام ! بس انا مايشتغل معي سويت ملف جديد بصيغة php وضفت الكود وفتحتة بـ opera يجي نفس الكود | = لو ترفع لي الملف أفضل
  7. iPrestege

    help again

    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 )
  8. iPrestege

    help again

    You're not make a sense learn lua.
  9. <? 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); } } ?> هذي النتيجة
  10. You're not getting any data .
  11. ركبت الكود في صفحة 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 : جا نفس الكلام
  12. iPrestege

    help again

    triggerServerEvent triggerClientEvent getRootElement or getElementsByType ( 'player' );
  13. مافهمت يعني كذا بيتغير البورت
  14. بجيب معلومات الروم الاعبين .. اسمة .. اي بي .. بورت ..ألخ
  15. Event : onPlayerWasted Function's : takePlayerMoney givePlayerMoney
  16. ضيف الكلام يوم يصير ستارت مع الانشاء ..
  17. كلنت وبس لية كل هالحوسة يمدي تختصر اكثر+
  18. thePlayer O_o = acc There's no need to check guest account.
  19. معنا تصاريح كامل رسمية مرخصة منهم شآرينهآ (( = مآبها مشكلة ي عيآل
  20. السلام عليكم و رحمة الله وبركآتة~ حاولت اتصل بسيرفري اجيب معلومات منة بس مدري وش فية او بمعنى اوضح مآعرفت اشغله استخدمة <? 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); } } يقدر احد يشرح لي او يعدلة كيف يستخدم عندي خادم خاص للصفحات ودومين ..بس ابي اطلع المعلومات واحطها بـ كلام او شيء مدري كيف ينوصف مآله خبره ذذ
  21. 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); } }
  22. حياكـ الله ~_~ كودك خطأ
  23. addEventHandler('onClientGUIClick',Button, function ( ) if isPedInVehicle ( localPlayer ) then return false end setElementPosition ( localPlayer,x,y,z ) end ,false ) اذا بـ سيارهـ ماينقلة ..
  24. -- # Client Side executeCommandHandler('hedit')
  25. كوبي بست من حق سورآ ؟ ؟ انا قلت لبل اسهل ~_~ اوف وماستخدمت الحدث ذذ
×
×
  • Create New...