-
Posts
88 -
Joined
-
Last visited
-
Days Won
1
Everything posted by Hakan
-
setTimer ( function ( source ) if getElementData( source, "onMission" ) == true then if playersIntoMission < 1 then OutPut ( "✱⌠ ! لم تبدأ مهمة الركض لعدم توفر اللاعبين ⌡✱", root, 255, 0, 0, true ) killPed ( source ) setElementData( source, "onMission", false ) playersIntoMission = 0 MissionStart () return end end end, 3000, 1 ,source) لو مـ اشتغل اطرح لنا الكود كامل
-
onClientWeaponFire getKeyState cancelEvent
-
Click here شكلك مابحثت
-
سكربت رائع , وشكراً على الاهداء .
-
عندك اكثر من طريقة شوف الطريقة هاذي وانت طبقها local colors = { ['Close'] = {255,0,0} , ['Open'] = {0,255,0} } ; guiGridListSetItemColor ( element , row , column , unpack ( colors [text] ) )
-
لو كانت بجانب السيرفر تحفظ الا لو رستت السكربت راح تنحذف هذا كان مقصد كلامي
-
local Group1 = ""..tostring(getElementData ( resourceRoot, "group1" )).."" local Group2 = "" Groups = { "Admin", "Console", } -- by justp function justA ( thePlayer, commandName, ... ) local accName = getAccountName ( getPlayerAccount ( thePlayer ) ) for i, v in ipairs ( Groups ) do if isObjectInACLGroup ( "user."..accName, aclGetGroup ( v ) ) then local justp = { ... } local textt = table.concat ( justp, " " ) setElementData ( resourceRoot, "group1", textt ) outputChatBox(getElementData ( resourceRoot, "group1" ), thePlayer) exports["guimessages"]:outputServer(thePlayer, "#C38EC7[Clanwar] group1 set to " ..getElementData ( resourceRoot, "group1" ), 255, 255, 0) break end end end addCommandHandler('setgtext', justA)
-
لو عادي يترستت المود وينحذف الكلام استخدم الجداول لو تبي ينحفظ ولو رستت مايروح استخدم الي قالوه لك الشباب فوق
-
السيرفر حلو لاكن تقريباً طريقة موداتكم زي سيرفر طارة
-
تاكد ان وظائف إعطاء الفلوس او سحبها بجانب السيرفر مو بـ الكلنت Server Side
-
local hydra = { } addEventHandler ( "onVehicleStartEnter" , root , function ( ) if getTeamName( getPlayerTeam ( source ) == "SWAT" and if getElementModel ( source ) == 520 ) then if isElement ( hydra [ source ] ) ) then destroyElement ( hydra [ source ] ) end hydra [ source ] = createBlipAttachedTo ( source , 9 , 0,2,255,0,0,255,0,16383.0,getTeamFromName("SWAT")) end end ) ; addEventHandler ( "onVehicleStartExit" , root , function ( ) if ( getElementModel ( source ) == 520 and isElement ( hydra [ source ] ) ) then destroyElement ( hydra [ source ] ) hydra [ source ] = nil end end ) جرب هذا ولاتنسى تغير اسم التيم
-
جرب هذا local hydra = { } addEventHandler ( "onVehicleStartEnter" , root , function ( ) if ( getElementModel ( source ) == 520 ) then if ( isElement ( hydra [ source ] ) ) then destroyElement ( hydra [ source ] ) end hydra [ source ] = createBlipAttachedTo ( source , 0 ) end end ) ; addEventHandler ( "onVehicleStartExit" , root , function ( ) if ( getElementModel ( source ) == 520 and isElement ( hydra [ source ] ) ) then destroyElement ( hydra [ source ] ) hydra [ source ] = nil end end ) ;
-
جرب هذا local blips = { } function addHelmetOnEnter (thePlayer, seat , jacked) if getElementModel(source) == 520 then if ( isElement ( blips[source] ) ) then destroyElement ( blips [ source ] end blips[source] = createBlipAttachedTo(source, 52) end end end addEventHandler ( "onVehicleEnter", getRootElement(), addHelmetOnEnter ) function removeHelmetOnExit (thePlayer, seat , jacked) if getElementModel(source) == 520 and isElement ( blips[source] ) then destroyElement(blips[source]) blips[source] = nil end end addEventHandler ( "onVehicleExit", getRootElement(), removeHelmetOnExit )