PaiN^
Members-
Posts
2,258 -
Joined
-
Last visited
Everything posted by PaiN^
-
Thanx Anderl + I just saw my errors ..
-
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)
-
Resource page features
PaiN^ replied to rain_gloom's topic in Site/Forum/Discord/Mantis/Wiki related
You mean like the community ? -
You didn't replace the x, y, z by the coordinates -_-" ?
-
ممشكوررين ما قصرتوا
-
I didn't use stPlayerTeam !! You have edited it incorrectly .. Post the code you edited ..!
-
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"
-
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 )
-
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 ..!
-
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 ..!
-
Didn't you downloaded any resources that aren't yours ?
-
أنا ما أعرف لذا المود بس مو كل أمثلة الويكي صحيحة بعضها بس يوريك وظيفة الفنكشن أو الإيفنت
-
TAPL مشرف القسم https://forum.multitheftauto.com/viewtopic.php?f=119&t=46670
-
You mean you want to do a server from your own PC ? If so, Then yes it's possible ..!
-
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)
-
what function to get a number without the decimal digits?
PaiN^ replied to HeavyMetal's topic in Scripting
getElementsByType destroyElement ?? -
غالباً لتشابه الأكواد مدري والله !.. بس إللي أعرفه الطريقة هذي ما تنفع ومعليش سؤال : إنت ليه تسوي أكثر من مود ؟؟ سوي مود واحد وحط فيه أكثر من ماركر وريح راسك
-
يعني تبغاه يعيطك ألف بس في أكثر من ماركر يا يزن ؟؟
-
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 ..!
-
> name="CarCOLOR" description="blaBla" author="DarkRACER" type="script" version="1.0" /> ="car.lua" type="server"/>> + How outputChatBox will fix any thing -_-" ??!!!
-
"onResourceStart" + -- Line 3 local playerBlip = getBlipAttachedTo ( thePlayer ) -- Not local playerBlip = getBlipAttachetTo ( thePlayer ) And i doubt it still a function
-
مآله داعي تعتذر كنت بتسآعده ^^ ذذ ^^ العفو#
-
السلآمـ عليكمـ حاب أقدم لكم اليوم أول موداتي إلي هو نظام التقرير وظيفة المود *-- ( ... يسمحلك ترسل تقرير إلى كل أدمنيه السيرفر عن أي شي تلاحظه بالسيرفر ( مخالفين, هكر, مود خربان إلخ --* *-- الرسالة راح توصل لمن له خاصية الباند فقط وحتكون في الشات --* *-- المود غير مشفر ويمكن التعديل عليه --* *-- النسخة الأولى فيها بق ما يسمح بالكتابة بالعربي, ولكن تم حل المشكلة في النسخة 1.5 --* DOWNLOAD ^^ أتمنى المود عجبكم وإنكم تستفيدوا منه ** بلغوني عن أي بق تلقوه عشان أصلحه ** والسلآمـ خير ختآمـ
