Jump to content

PaiN^

Members
  • Posts

    2,258
  • Joined

  • Last visited

Everything posted by PaiN^

  1. Thanx Anderl + I just saw my errors ..
  2. PaiN^

    Player VIP

    function vip () local acc = getAccountName(getPlayerAccount(source)) if isObjectInACLGroup("user."..acc, aclGetGroup("VIP") then setPlayerArmor(source, 100) else outputChatBox("No eres VIP", source, 255, 0, 0, true) end end ) addEventHandler("onPlayerLogin", root, vip) addEventHandler("onPlayerSpawn", root, vip)
  3. You didn't replace the x, y, z by the coordinates -_-" ?
  4. I didn't use stPlayerTeam !! You have edited it incorrectly .. Post the code you edited ..!
  5. PaiN^

    Player VIP

    What you want is to give an armor to any VIP player after he dies right ?? if so, Then change the event : "onPlayerWasted" To "onPlayerSpawn"
  6. If i'm right then this how your code should look like : addEventHandler( "onMarkerHit", root, function ( hitElement ) if getElementType( hitElement ) == "player" then if isPlayerInVehicle( hitElement ) then return else if ( source == marker1 ) then spawnPlayer( hitElement, x, y, z ) elseif ( source == marker2 ) then spawnPlayer( hitElement, x, y, z ) elseif ( source == marker3 ) then spawnPlayer( hitElement, x, y, z ) elseif ( source == marker4 ) then spawnPlayer( hitElement, x, y, z ) elseif ( source == marker5 ) then spawnPlayer( hitElement, x, y, z ) elseif ( source == marker6 ) then spawnPlayer( hitElement, x, y, z ) end end end end )
  7. What i know is that scripts with lots of triggers and/or timers make lag .. Check if any of your resources got so many triggers and/or timers ..!
  8. PaiN^

    Respawn

    Turn off the resource, And then kill yourself If you got spawned in the Jefferson Hospital, Then it's another resource .. If not, Then i don't know what it's ..!
  9. PaiN^

    Respawn

    Didn't you downloaded any resources that aren't yours ?
  10. أنا ما أعرف لذا المود بس مو كل أمثلة الويكي صحيحة بعضها بس يوريك وظيفة الفنكشن أو الإيفنت
  11. TAPL مشرف القسم https://forum.multitheftauto.com/viewtopic.php?f=119&t=46670
  12. PaiN^

    HELP ME!!! ;(

    You mean you want to do a server from your own PC ? If so, Then yes it's possible ..!
  13. PaiN^

    Player VIP

    function Vip ( ) local accName = getAccountName( getPlayerAccount(source) ) if isObjectInACLGroup ("user."..accName, aclGetGroup ( "VIP" ) ) then setPedArmor ( source, 100 ) exports["Evo-notificaciones"]:showBox ( source, "warning","VIP: Como Vip Apareseras Con 100 % De Armadura Y Jetpack" ) else outputChatBox("No eres VIP", source, 0, 0, 255, false) end end addEventHandler("onPlayerWasted", getRootElement(), Vip) addEventHandler("onPlayerLogin", getRootElement(), Vip)
  14. غالباً لتشابه الأكواد مدري والله !.. بس إللي أعرفه الطريقة هذي ما تنفع ومعليش سؤال : إنت ليه تسوي أكثر من مود ؟؟ سوي مود واحد وحط فيه أكثر من ماركر وريح راسك
  15. يعني تبغاه يعيطك ألف بس في أكثر من ماركر يا يزن ؟؟
  16. PaiN^

    help please

    Not sure it'll work, But try : function pizaveh ( player, command ) local x, y, z = getElementPosition ( player ) if(getPlayerTeam(localPlayer) == getTeamFromName("PizzaBoy")) then for _,cars in ipairs(getElementsByType("vehicle")) do local car = getElementModel( cars ) if (car == 448) then destroyElement(cars) end end pizveh = createVehicle ( 448, x - 10, y, z ) else outputChatBox ( "Nu esti vanzator de pizza", player, 255, 0, 0, true ) return end end addCommandHandler ( "pizveh", pizaveh ) Edited : @Mr.Pres[T]ege You're right, I edited it so he can ..!
  17. > name="CarCOLOR" description="blaBla" author="DarkRACER" type="script" version="1.0" /> ="car.lua" type="server"/>> + How outputChatBox will fix any thing -_-" ??!!!
  18. PaiN^

    help please

    "onResourceStart" + -- Line 3 local playerBlip = getBlipAttachedTo ( thePlayer ) -- Not local playerBlip = getBlipAttachetTo ( thePlayer ) And i doubt it still a function
  19. مآله داعي تعتذر كنت بتسآعده ^^ ذذ ^^ العفو#
  20. السلآمـ عليكمـ حاب أقدم لكم اليوم أول موداتي إلي هو نظام التقرير وظيفة المود *-- ( ... يسمحلك ترسل تقرير إلى كل أدمنيه السيرفر عن أي شي تلاحظه بالسيرفر ( مخالفين, هكر, مود خربان إلخ --* *-- الرسالة راح توصل لمن له خاصية الباند فقط وحتكون في الشات --* *-- المود غير مشفر ويمكن التعديل عليه --* *-- النسخة الأولى فيها بق ما يسمح بالكتابة بالعربي, ولكن تم حل المشكلة في النسخة 1.5 --* DOWNLOAD ^^ أتمنى المود عجبكم وإنكم تستفيدوا منه ** بلغوني عن أي بق تلقوه عشان أصلحه ** والسلآمـ خير ختآمـ
×
×
  • Create New...