-
Posts
4,805 -
Joined
-
Last visited
-
Days Won
10
Everything posted by فاّرس
-
خطأ عدلته فوق هذا يجيب الشيء المحدد عليه بالقريد ليست
-
'onClientGUIClick' guiGridListGetSelectedItem
-
روح جيب جالكسي وتعال جرب اكتب ؟ لان يوم تكتب عربي الشاشه تكون يمين والكتابه يسار + يتعلم الجداول وليش لا مافي شيء اسمه صعب او مستحيل
-
ما تترك احد في حاله 7 شتطر وربي بس الجدول افضل يتعلم له من بدري o_O
-
ماتفرق ركز على الكلام الأحمر توني انتبهت ههه + لو تسوي الي قلت لك يكون افضل عشان يفهم وتدخل الفكره براسه معليش ردود متأخرة بالجوال ^§©
-
triggerServerEvent("Nothing",localPlayer, RandomName,hobo) لازم ترسل كل الادي عبادي انت حاط اذا كان ما يساوي فراغ يرسل الافضل تسوي اذا كتن يساوي فراغ ما يرسل
-
if guiGetText(edit1) == "" or guiGetText(edit2) == "" then
-
لا راح يتحقق اذا اقل من كلمه يلغي الوظيفه
-
~= لا يساوي انت حاط اذا الاديت لايساوي فارغ يعني ما راح يحقق الوظيفه لازم تسوي اذا الاديت يساوي فراغ وتسوي الوظيفه طريقه برستيج افضل نوعا ما
-
ما نحطمك ولا شيء بس انت تنسخ من الويكي ؟ + مثل ما قال عناد ما تعرف انجليزي انسى البرمجه + 3ssol @ اتوقع تضبط كذا setTimer(function() -- Your code end,1000,0) اعتقد ما راح يكون في مشاكل
-
مدري وش دخل الآيه + الكود جاك طازه ناقصك سطر واحد + احمد ربك تتحطم عشان تصير الافضل لو سلكنا لك ما راح تستفيد شيء
-
للمرة الثانية كودي شغال ومجربة + تي تي احنا نصحح له ما لنا شغل بالحداثيات
-
لقد خدعتكم وكأنني لم انسخ من الويكي وانا نسخت تخخخرييف ... حشششيششش تايم
-
اعتقد إن كودي شغال لاني جربته واشتغل
-
بالنسبه لاخ كنق انا يوم رديت ما انتبهت ان في صفحه ثانيه عشان كذا رديت لاني من الجوال يعجبني تحطيمك يرفع مستوى الواحد
-
isElement : تحدد العنصر الي هو الصوت destryElement : تحذف العنصر الي هو الصوت عشان ما يكرر
-
اعتقد وان صبطت بيحي لاق لانها بتتححرك مثل الرندر
-
^ ما كنت عآرف انها موجوده, + getMarkerCount سهل, كلها getMarkerCount() بدل ما تسوي الكود الي فوق ,
-
local num = 5 addEventHandler("onClientRender", root, function() dxDrawText("Redirect To New Server In :", 202, 192, 656, 222, tocolor(208, 224, 30, 255), 1.00, "bankgothic", "left", "top", false, false, true, false, false) dxDrawText(tostring( num ), 403, 272, 458, 299, tocolor(208, 224, 30, 255), 1.00, "bankgothic", "left", "top", false, false, true, false, false) end ) Timer = setTimer( function () num = num - 1 if num <= -1 then killTimer(Timer) num = 0 end end,1000,0)
-
Try this : function trabajoPolicia ( attacker, attackerweapon, bodypart, loss ) local theTeam = getPlayerTeam ( attacker ) local theWL = getPlayerWantedLevel ( source ) local theSkin = getElementModel ( attacker ) if ( attacker and attacker ~= source and theTeam and getTeamName( theTeam ) == "Policia" or getTeamName( theTeam ) == "FBI" or getTeamName( theTeam ) == "Ejercito" ) then if (attackerweapon == 3) and (loss > 2 ) then setElementPosition (source, 3306.1, 1195.7, 945, true) theName = getPlayerName ( source ) theCop = getPlayerName ( attacker ) warnText( "Has Sido Encarcelado Por "..theCop.. ".", source ) warnText( "Has Encarcelado a "..theName, attacker ) local playeraccount = getPlayerAccount ( attacker ) oldArrest = getAccountData(playeraccount, "arrest") if oldArrest then newArrest = setAccountData(playeraccount, "arrest", tonumber(oldArrest) + 1 ) else newArrest = setAccountData(playeraccount, "arrest", 1 ) end setPlayerWantedLevel (source, 0) if ( theWL > 1 ) then setTimer ( setElementPosition, 20000, 1, source, 1544.4332275391, -1674.7698974609, 13.688399200439) givePlayerMoney (attacker, 3000 * theWL ) end if ( theWL > 2 ) then setTimer ( setElementPosition, 40000, 1, source, 1544.4332275391, -1674.7698974609, 13.688399200439) givePlayerMoney (attacker, 6000 * theWL ) end if ( theWL > 3 ) then setTimer ( setElementPosition, 60000, 1, source, 1544.4332275391, -1674.7698974609, 13.688399200439) givePlayerMoney (attacker, 9000 * theWL ) end if ( theWL > 4 ) then setTimer ( setElementPosition, 80000, 1, source, 1544.4332275391, -1674.7698974609, 13.688399200439) givePlayerMoney (attacker, 12000 * theWL ) end if ( theWL > 5 ) then setTimer ( setElementPosition, 100000, 1, source, 1544.4332275391, -1674.7698974609, 13.688399200439) givePlayerMoney (attacker, 15000 * theWL ) end if ( theWL > 6 ) then setTimer ( setElementPosition, 120000, 1, source, 1544.4332275391, -1674.7698974609, 13.688399200439) givePlayerMoney (attacker, 18000 * theWL ) end end end end addEventHandler ("onPlayerDamage", getRootElement(), trabajoPolicia) and can you tell me why you make setTimer for setElementPosition
-
Can you tell me what do you want to do specifically?
-
Hmm, i'm don't know what the problem and i'm don't think it's work , but try this , if attacker and attacker ~= source and theTeam2 and getElementType(attacker) == "player" then in line 2