-
Posts
10,056 -
Joined
-
Last visited
-
Days Won
27
Everything posted by iPrestege
-
راسلني خاص
-
dxDrawImage
-
You can find it yourself in the community https://community.multitheftauto.com/index.php?p=resources&s=details&id=6621 also nice bumping .
-
A. a lot of scripters are good like dan ,arc,50p,castillo,kenix,50p,TAPL,Al3grab,MR.S3D,3NAD,Simple01 with pairs . Q. Ask your self
-
ام تي اي ماراح يسوون لا ذي ولا ذي
-
@#_iMr,[E]coo شف الخاص بمنتدى مجتمع العرب
-
استضافه مجتمع العرب ترحب بكم .. وتقدم لكم 5 سيرفرات هديه حصريا فقط في مجتمع ام تي اي العرب .. الشروط بسيطه وسهله جدا . 1- لازم يكون عندك فوق 10 مشاركات 2- يكون عندك خلفيه مسبقا للسيرفر وطريقه تحكمه 3- الرد في موضوع مجتمع العرب - ارخص استضافه عربيه طيب وفي شي ثاني هديه نعطيك سيرفر ثاني مع سيرفرك الاول اذا جبت 5 اعضاء يسجلون بالموقع . وبس شاكرين لكم حسن استماعكم لمزيد من المعلومات : http://www.mtaarabs.com/vb/showthread.php?p=9402#post9402 شرح التسجيل وشروحات المنتدى كافة http://www.mtaarabs.com http://www.mtaarabs.com/vb/showthread.php?t=1263
-
No problem enjoy .
-
https://wiki.multitheftauto.com/wiki/DxDrawBorderedRectangle
-
اربطها بسريال الاعب وخلاص والعب عالمضمون
-
والله ودنا بهالشيء لكن للاسف رافضين الام تي اي تيم يقولون بيسبب ضرر كبير للاعبين وماراح يرقونه
-
-- Server addEventHandler ( 'onPlayerLogin',root, function ( _,aPlayerAccount ) if getAccountData ( aPlayerAccount,'FirstLogin' ) then return end; givePlayerMoney ( source,5000 ); outputChatBox ( 'Welcome to your new world! Enjoy',source,255,255,0 ); setAccountData ( aPlayerAccount,'FirstLogin',true ); end end );
-
i would like to support this even if we pay some more @ccw.
-
انا عندي مليارات اليوم اوريكم
-
حياك الله وبالتوفيق
-
@Master_MTA جرب هذا وعدل اسم داتا القتل او النقاط باول شيء : aKillsData = 'داتا النقاط' function aUpdateKiller ( ) aTopKiller = { }; for _,v in ipairs( getElementsByType ( 'player') ) do if getElementData ( v,aKillsData ) then table.insert ( aTopKiller,{ ['aName'] = getPlayerName ( v ),['aScore'] = getElementData ( v,aKillsData ) } ); end; end; table.sort ( aTopKiller, function ( a,b ) return a.aScore > b.aScore end ); end; aUpdateKiller ( ); addEventHandler ( 'onClientElementDataChange',root, function ( aD ) if aD == aKillsData then aUpdateKiller ( ); end end ); local aX,aY = guiGetScreenSize ( ) addEventHandler ( 'onClientRender',root, function ( ) if #aTopKiller > 0 then dxDrawText ( 'Top Player is : '..aTopKiller[1].aName..' and His score is : '..aTopKiller [1].aScore..'', 44, aY - 43, aX, aY, tocolor ( 255, 255, 255, 255 ), 1 ) end end )
-
Yes use or aMyWeapon == weaponID and about the message just change hitPlayer with source because it's the player in the event.
-
You're welcome not a problem just i thought your colshape variable is 'zone1' because it's in the event anyways glad to hear that enjoy.
-
addEventHandler ( 'onPlayerWeaponSwitch',root, function ( _,aMyWeapon ) if isElementWithinColShape( source,zone1 ) and aMyWeapon == 38 then toggleControl( source,'fire',false ); else toggleControl( source,'fire',true ); end end ); remove the antiminigun function and use this ^^ @S.W.A.T
-
You can simply use isElementWithinColShape with onPlayerWeaponSwitch to toggleControl. @S.W.A.T
-
local aNotToDisable = { [0]=true;[1]=true;[2]=true;[3]=true;[4]=true;[5]=true; [6]=true;[7]=true;[8]=true;[9]=true;[10]=true;[11]=true;[12]=true;[14]=true; [15]=true;[44]=true;[45]=true;[46]=true;[40]=true }; aDisableLastShoot = function ( ) if aNotToDisable[getPedWeapon(source)] then return false end; if getPedTotalAmmo ( source ) == 1 then toggleControl( 'fire',false ); outputChatBox ('You can not shoot now get more ammo!'); else toggleControl( 'fire',true ); end end addEventHandler ( 'onClientPlayerWeaponSwitch',localPlayer,aDisableLastShoot ); addEventHandler ( 'onClientPlayerWeaponFire',localPlayer,aDisableLastShoot ); You can try with this . @TheMOG