
rabe3
Members-
Posts
97 -
Joined
-
Last visited
Everything posted by rabe3
-
السلام عليكم انا بدي اغير سرعه بعض السيارات ممكن الطريقه ومشكور
-
السلام عليكم scoreboard ممكن كيف اضافه على لوحه Waiting اذا الاعب قاعد يينتضر يحمل السكريبتات يكتب على الوحه انه يحمل
-
السلام عليكم انا عندي سيرفر كانو يستخدمو الاعبيه ثعره الاموال وسكرتها الحمدلله بس بدي اعرف كيف ارجع كل الاموال ل 0 بدون حذف الحسابات اذا ممكن
-
السلام عليكم بدي طريقه عندما اعمل تسجيل خروج من الكونسول يخلي كل الاموال 0
-
السلام عليكم انا عندي مشكله بلسيرفرفي بعض بعض المودات لما اشغلها السيرفر بيسكر والمودات شغالات 100% بكمبيوتر ثاني وهاذي الصورا http://im35.gulfup.com/gQGeB.png
-
بارك الله فيكم والله ماتقصرون ابدا تم الحل
-
قصدي يعني لو انا طلعت الاعب من التيم يحفظ انه طلع من التيم
-
السلام عليكم الي يحفض التيم اذا ضفت واحد بفريق يضله حافظه واذا طردته من الفريق ينطرد بس لما يسوي اعاده تسجيل دخول saveteam عندي انا سيرفر فري روم وعندي سكربت يرجع بلفريق وهاذ الكود addEventHandler("onPlayerLogin",root,function() local team = getAccountData (getPlayerAccount(source), "team") -- gets players team if (team==getTeamName(getTeamFromName(team))) then setPlayerTeam(source, getTeamFromName(team)) -- sets players team end end) -- sets players team on login function save() local team = getPlayerTeam(source) -- Gets the players team local account = getPlayerAccount(source) if not isGuestAccount(account) then -- Checks to see if the player is a guest or not if(team)then setAccountData(account, "team", getTeamName(team)) --saves team end end end addEventHandler("onPlayerLogout", root, save) -- saves team on logout addEventHandler("onPlayerQuit", root, save) -- saves team on quit
-
function gluePlayer(slot, vehicle, x, y, z, rotX, rotY, rotZ) attachElementToElement(source, vehicle, x, y, z, rotX, rotY, rotZ) setPlayerWeaponSlot(source, slot) end addEvent("gluePlayer",true) addEventHandler("gluePlayer",getRootElement(),gluePlayer) function ungluePlayer() detachElementFromElement(source) end addEvent("ungluePlayer",true) addEventHandler("ungluePlayer",getRootElement(),ungluePlayer) function glue() local player = getLocalPlayer() if not getPlayerOccupiedVehicle(player) then local vehicle = getPlayerContactElement(player) if getElementType(vehicle) == "vehicle" then local px, py, pz = getElementPosition(player) local vx, vy, vz = getElementPosition(vehicle) local sx = px - vx local sy = py - vy local sz = pz - vz local rotpX = 0 local rotpY = 0 local rotpZ = getPlayerRotation(player) local rotvX,rotvY,rotvZ = getVehicleRotation(vehicle) local t = math.rad(rotvX) local p = math.rad(rotvY) local f = math.rad(rotvZ) local ct = math.cos(t) local st = math.sin(t) local cp = math.cos(p) local sp = math.sin(p) local cf = math.cos(f) local sf = math.sin(f) local z = ct*cp*sz + (sf*st*cp + cf*sp)*sx + (-cf*st*cp + sf*sp)*sy local x = -ct*sp*sz + (-sf*st*sp + cf*cp)*sx + (cf*st*sp + sf*cp)*sy local y = st*sz - sf*ct*sx + cf*ct*sy local rotX = rotpX - rotvX local rotY = rotpY - rotvY local rotZ = rotpZ - rotvZ local slot = getPlayerWeaponSlot(player) --outputDebugString("gluing ".. getPlayerName(player) .." to " .. getVehicleName(vehicle) .. "(offset: "..tostring(x)..","..tostring(y)..","..tostring(z).."; rotation:"..tostring(rotX)..","..tostring(rotY)..","..tostring(rotZ)..")") triggerServerEvent("gluePlayer", player, slot, vehicle, x, y, z, rotX, rotY, rotZ) unbindKey("x","down",glue) bindKey("x","down",unglue) bindKey("jump","down",unglue) end end end addCommandHandler("glue",glue) function unglue () local player = getLocalPlayer() triggerServerEvent("ungluePlayer", player) unbindKey("jump","down",unglue) unbindKey("x","down",unglue) bindKey("x","down",glue) end addCommandHandler("unglue",unglue) bindKey("x","down",glue) ممكن تشرحلي اكثر كيف
-
شكرا السكين تصلح بس فش طريق امنع التنقل وانت ضاغط اكس لمود glue?
-
السلام عليكم عندي سيرفر فري روم مشكلتي الاوله لما غير سكين الشخصيه بيزيد دم وانا مابيه يزيد دم والمشكله الثانيه ب مود ال التصاق بلسياره لما اضغط اكس والتصق بلسياره بقدر انتقل بلخريطه وانا مابدي اياه ينقتل بلخريطه وهاذ مود ال التصاق بلسياره https://community.multitheftauto.com/in ... ails&id=51
-
مو بس التاب كمان اسم التاج http://im41.gulfup.com/QkJyz.png صورا للتوضيح
-
نعم لما يدخل الفريق يتغير الون ويصير على لون الفريق
-
النك على لون التيم بس التاج الي يجي فوق الشخصيه غير لون الفريق http://im32.gulfup.com/7a7zN.png صورا للتوضيح
-
النك على لون التيم بس التاج الي يجي فوق الشخصيه غير لون الفريق
-
كيف يعني سامحني انا جديد بلسكريبتات
-
السلام عليكم انا جديد هنا انا عندي سيرفر فري روم ولما اسوي فريق مثلا لونه احمر وانا انضم فيه الون تبع اسمي مايتغير للون الفريق الي انا انضميت فيه اما لو عدت ريسوس بلاي يتغير لون اسمي لاحمر وبعدين لما افصل وارجع يرجع نفس الشي لون غير الفريق