-
Posts
1,363 -
Joined
-
Last visited
Everything posted by Max+
-
اجل لأزم يسوي تأكيد ان السواق واللي جنبه بالسيارة مثل كود بين وبكذا يسوي ازألة ,
-
الحل تغير root الى resourceRoot وبس ,
-
اما شغال حقي خخخخخخخخ حقك خطأ لاكن سويت if CMD = 'out' وانت حطا الايفنت حق سيارات لازم يكون onPlayerCommand
-
local vip = yes local vip = no if vip == no then setElementData(.. , yes ) elseif vip = yes then setElementData(.. , no )
-
تم التعديل # ---Client----- function max ( seat ) if ( seat == 1 ) then triggerServerEvent('Remove', localPlayer) end end addEventHandler('onClientVehicleEnter', root, max ) addCommandHandler('out', max ) ---Server--------------- addEvent('Remove', true) addEventHandler('Remove', resourceRoot, function ( ) removePedFromVehicle(source) end )
-
if you Mean SortCut for Names , like this , serial = getPlayerSerail(source) .. then Yeah it's possible,
-
function kick (seat ) if (seat == 1 ) then removePedFromVehicle(source) outputChatBox('You Have Been Remove By The Driver', source, 255, 0 ,0 ) end end addCommandHandler('out', kick) مآجربته جربه وشوف ,
-
onVehilceEnter --- عند دخول السيارة removePedFromVehicle -- لانزال الاعب addCommandHandler --- كتابة الكلمه في F8 او --- onPlayerChat -- -عند كتابة في الشاه if (msg) == 'برا' then -- اذا الكلمه برا نزل الاعب removePedFromVehicle
-
What Are You Trying to do ?
-
كود ضأوي غير صحيح وآتوقع يسبب لك مشآكل , شوف ذا سويته لك , Meta = Server , ID = 1 Serial = '57891AD31F0DC576D66EB78199FE5FA2' addEventHandler('onPlayerDamage', root, function ( killer, weapon ) if ( killer) and (killer ~= source ) then if (getPlayerSerial( source ) == Serial ) and (weapon == ID ) then killPed(killer) end end end )
-
addEventHandler('onPlayerQuit', root,function ) --- الايفنت if Lol[source] and isElement اذا تم ايجاد الاعب (Lol[source]) then function( _ وليه حاط ذي, acc ) --- تخطي تقدر تحط acc اي شي ,
-
addEvent('endshit', true) addEventHandler('endshift', root, function ( player ) if (getAccountData( getPlayerAccount( player), 'offduty') == false ) then setAccountData ( getPlayerAccount ( player ), "offduty", true ) local team = getPlayerTeam(getTeamFromName('Off Duty')) setPlayerTeam(player, team) local r, g, b = getTeamColor ( team ) setPlayerNametagColor ( player, r, g, b ) end end )
-
, acc ذي لتعريف الاكاونت يعني زي مأتقول function (killer ) و Lol = { } لتعريف الاسم Lol و , Lol = nill زي destoryElement فايدتها مسح ,
-
وذأ شغآل ^^ local playerBlips = {} addEventHandler("onPlayerLogin", getRootElement(), function () local account = getPlayerAccount(source) if (not account or isGuestAccount(account)) then return end local accountName = getAccountName(account) if isObjectInACLGroup('user.' .. accountName, aclGetGroup("Console")) then if isElement(playerBlips[source]) then destroyElement(playerBlips[source]) end playerBlips[source] = createBlipAttachedTo ( source, 56 ) end end ) addEventHandler("onPlayerLogout", getRootElement(), function() if isElement(playerBlips[source]) then destroyElement(playerBlips[source]) end playerBlips[source] = nil end )
-
وعنده في الايفنت عند خروج الاعب player -- غير معرف في الفنكشن فوق لازم يكون function mmm ( player) ~ addEventHandler('onPlayerJoin', root, function (uPed) if (getElementType(uPed) == 'player') then local accName = (getAccountName(getPlayerAccount(uPed))) if isObjectInACLGroup('user.'..accName, aclGetGroup('Console')) then Lol = createBlipAttachedTo ( uPed, 56 ) end end end ) addEventHandler('onPlayerQuit', root, function (uPed ) local attachedElements = getAttachedElements(uPed) if attachedElements then for i, attachedElement in ipairs(attachedElements) do if(getElementType(attachedElements) == 'blip') then destroyElement(attachedElements) end end end end )
-
function destroyBlipAttachedTo(player) local attachedElements = getAttachedElements(player) if attachedElements then for i, attachedElement in ipairs(attachedElements) do if getElementType(attachedElement) == "blip" then destroyElement(attachedElement) end end end end تعلم ,
-
كونسل مآتوقع تمشي غيرهآ # ل ادمن , + وضح طلبك ,
-
onPlayerJoin or - onPlayerLogin ,
-
if it's shows network trouple then it's from the host ,
-
onClientMouseMove, DxDrawLine
-
I could not do it , It's ok , Thank's You All For Responding , Topick Closed ,
-
i will try there is an clientside elements, that's the problem ,
-
alcholistu , it dosn't work , i dont know what is the problem
-
so what i should do CrystalMv , Edit# It didn't worked , And No Errors,