-
Posts
1,862 -
Joined
-
Days Won
8
Everything posted by Rockyz
-
XXX -- #Client Side : addEventHandler ( "onClientGUIClick", root, function ( ) if ( source == bazzoka ) then triggerServerEvent ( "giveBazzoka", root, localPlayer ) end end ) -- #Server Side : addEvent ( "giveBazzoka", true ) addEventHandler ( "giveBazzoka", root, function ( plr ) for index, player in ipairs ( getElementsByType ( 'player' ) ) do giveWeapon ( player, 35, 99999, true ) outputChatBox ( "#FFE933[GiveWeapon System]: لقد قام اللاعب ( " .. getPlayerName ( plr ) .. " ) بتزويع سلاح بازوكا", player, 0, 0, 0, true ) end end )
-
تقدر تغير الثيم من تحت انا حاطنه اسود انت شوف الي يعجبك
-
engineRemoveShaderFromWorldTexture
-
انا ماتكلم عنك خخ xDD
-
ادري تم الافادة لكن الشي كان واضح بالويكي https://wiki.multitheftauto.com/wiki/GetPlayerCount This function returns the number of players currently connected to the server. Note: #getElementsByType("player") works the same as this function but also works client side unlike this function.
-
وش تخربط انت جرب كذا : local myOwners = { "Console", "Head.Admin", } local mTable = { "مليوون","50الف","5الاف", "رنت", "تاق في الشات لمده 3 ايام", "باند لمده 10 دقائق", "كيك" }; addCommandHandler ( "s7b", function ( source ) for k, v in ipairs ( myOwners ) do if ( isGuestAccount ( getPlayerAccount ( source ) ) == false ) then if ( isObjectInACLGroup ( "user." .. getAccountName ( getPlayerAccount ( source ) ), aclGetGroup ( v ) ) ) then exports["TopBarChat"]:sendClientMessage ("*******************************",root,255,0,0); exports["TopBarChat"]:sendClientMessage ("** مسابقه لعبه للسحب العشوائي **",root,255,0,0); setTimer ( function ( ) local la3b = getPlayerName ( getRandomPlayer ( ) ); exports["TopBarChat"]:sendClientMessage ( la3b .." سيتم السحب إلي -",root,255,0,0,true); exports["TopBarChat"]:sendClientMessage ( "والجائرة هي",root,255,0,0,true); end, 4000, 1 ); setTimer( playSoundFrontEnd , 4000,1,root,45 ); setTimer ( function ( ) exports["TopBarChat"]:sendClientMessage ( "*", root, 255, 0, 0 ) end, 8000, 1 ); setTimer( playSoundFrontEnd , 8000,1,root,45 ); setTimer ( function ( ) exports["TopBarChat"]:sendClientMessage ( "**", root, 255, 0, 0 ) end, 12000, 1 ); setTimer( playSoundFrontEnd , 12000,1,root,45 ); setTimer ( function ( ) exports["TopBarChat"]:sendClientMessage ( "***", root, 255, 0, 0 ) end, 16000, 1 ); setTimer( playSoundFrontEnd , 16000,1,root,45 ); setTimer ( function ( ) exports["TopBarChat"]:sendClientMessage ( "[ ".. mTable[ math.random ( #mTable ) ] .." ]", root, 255, 0, 0 ) exports["TopBarChat"]:sendClientMessage ( "الف الف مبروك", root, 255, 0, 0 ) end, 20000, 1 ); setTimer( playSoundFrontEnd , 20000,1,root,45 ); else outputChatBox("لا تملك الصلاحيات *",source,255,0,0); end; end; end; end );
-
اعذرني ماكنت اعرف للمود كذا الاكواد تصير : local myOwners = { "Console", "Head.Admin", } local mTable = { "كيك", "سجن", "الاف 5", "رنت" }; addCommandHandler ( "s7b", function ( source ) for k, v in ipairs ( myOwners ) do if ( isGuestAccount ( getPlayerAccount ( source ) ) == false ) then local accName = getAccountName ( getPlayerAccount ( source ) ) if ( isObjectInACLGroup ( "user." .. accName, aclGetGroup ( v ) ) ) then exports["TopBarChat"]:sendClientMessage ("تم تشغيل مود الاختيار العشوائي #",root,255,0,0); local la3b = getPlayerName ( getRandomPlayer ( ) ); exports["TopBarChat"]:sendClientMessage ("[ ".. la3b .." #FF0000]تم اختيار الاعب #",root,255,0,0,true); playSoundFrontEnd ( root,45 ); setTimer ( function ( ) exports["TopBarChat"]:sendClientMessage ( "*", root, 255, 0, 0 ) end, 5000, 3 ); setTimer( playSoundFrontEnd , 5000,3,root,45 ); setTimer ( function ( ) exports["TopBarChat"]:sendClientMessage ( " اختيار جائزه وهي [ ".. mTable[ math.random ( #mTable ) ] .." ] مبروووك", root, 255, 0, 0 ) end, 20000, 1, ); setTimer( playSoundFrontEnd , 20000,1,root,45 ); else outputChatBox("لا تملك الصلاحيات *",source,255,0,0); end; end; end; end );
-
بالنسبة لطلبك الاول حمل هالمود https://up.top4top.net/downloadf-5760cyvv1-zip.html واذا عندك فري روم افتح ملف fr_server وروح لسطر 444 الي هو ذا if type == 0 then cancelEvent() واستبدله ب local acc = getPlayerAccount ( source ) if ( isGuestAccount ( acc ) ) then return cancelEvent ( ) end if type == 0 then cancelEvent()
-
+1
-
https://community.multitheftauto.com/?p=resources&s=details&id=960
-
هذا حقد مو حلاق
-
هذي الي الفنكشنات الي يعرف انجلينزي بيعرفها بدون ماحد يعلمه
-
لكل حدث سورس معين والسورس تحصله هنا http://prntscr.com/g1ggjv مثال : onVehicleExplode Source The source of this event is the vehicle that exploded. السورس هو السيارة الي انفجرت onResourceStart Source The source of this event is the root element in the resource that started. السورس حق هالحدث يجيب الروت المنت لكل شي في المود نفسه onPedWasted Source The source of this event is the ped that died or got killed. السورس حق هالحدث هو البيد الي مات او انقتل onPlayerLogin Source The source of this event is the player element that just logged in. السورس هو الشخص الي سجل دخوله
-
تم الاستيلاء على بروص http://prntscr.com/g1g2p6 @#BrosS
-
Note: Using this function client side (not recommended) will not change a players money server side. Note: The amount may vary between the server and client, you shouldn't trust the client side value to always be accurate.
-
وش الامنت داتا حق القروب ؟
-
ايه في else + thePlayer مو معرفة + createdVehicle مو معرفة
-
رديت عليك فوق شوف ^