fargot.. Posted February 6, 2017 Share Posted February 6, 2017 السلام عليكم ورحمة الله وبركاته انا مركب قيم مود بس فيه مش ذي حقت ارمي وسوات انا جربت فتحت قروب ارمي بس يقلي ذي الكلة You can't Choose this skin only for Army Players و انا فاتح قروب بذا الاسم [ARMY] بس مقدر اخش الشخصية ليش ؟ و جرب شخصية سوات ادخل به نفس الشئ يجيني كذا و فاتح القروب بذا لاسم [SWAT] You can't Choose this skin only for SWAT Players ليش ارجو الرد ؟ .. Link to comment
#BrosS Posted February 6, 2017 Share Posted February 6, 2017 تأكد بالقيم مود كيف تحقق من الجروب واسم الجروب بالظبط Link to comment
terreus Posted February 6, 2017 Share Posted February 6, 2017 (edited) ذي زي مأتذكر بـ داتا ولله أعلم فيه قيم مود حق جراند العرب . مسوين كذا وماعرف @#BrosS @Ad[N]a[N]e elseif ( getElementData(player,"ARMY") ~= 1 ) and ( model == 287 ) then exports["guimessages"]:outputClient(ArmyText, 255, 0, 0) elseif ( getElementData(player,"SWAT") ~= 1 ) and ( model == 285 ) then exports["guimessages"]:outputClient(swattext, 255, 0, 0) غيره لـ ذا elseif ( getElementData(player, "Group") == "[ARMY]" ) and ( model == 287 ) then exports["guimessages"]:outputClient(ArmyText, 255, 0, 0) elseif ( getElementData(player, "Group") == "[SWAT]" ) and ( model == 285 ) then exports["guimessages"]:outputClient(swattext, 255, 0, 0) ولا تنسا تعدل اسم قروب وشخصية وجرب * Edited February 6, 2017 by Siffxr Link to comment
Jw8. Posted February 6, 2017 Share Posted February 6, 2017 elseif ( getElementData(player, "Group") == "[ARMY]" ) and ( model == 287 ) then exports["guimessages"]:outputClient(ArmyText, 255, 0, 0) elseif ( getElementData(player, "Group") == "[SWAT]" ) and ( model == 285 ) then exports["guimessages"]:outputClient(swattext, 255, 0, 0) --استخدم عشان يقدر يخش Link to comment
terreus Posted February 6, 2017 Share Posted February 6, 2017 1 minute ago, DmAr511 said: elseif ( getElementData(player, "Group") == "[ARMY]" ) and ( model == 287 ) then exports["guimessages"]:outputClient(ArmyText, 255, 0, 0) elseif ( getElementData(player, "Group") == "[SWAT]" ) and ( model == 285 ) then exports["guimessages"]:outputClient(swattext, 255, 0, 0) --استخدم عشان يقدر يخش COPY & PAST Link to comment
Jw8. Posted February 6, 2017 Share Posted February 6, 2017 Just now, Siffxr said: COPY & PAST قاعد اوضح له Link to comment
terreus Posted February 6, 2017 Share Posted February 6, 2017 Just now, DmAr511 said: قاعد اوضح له لا تزود مشاركات لاهنت فيه شيء اسمه القوانين وشكر Link to comment
N3xT Posted February 6, 2017 Share Posted February 6, 2017 1 hour ago, Siffxr said: ذي زي مأتذكر بـ داتا ولله أعلم فيه قيم مود حق جراند العرب . مسوين كذا وماعرف @#BrosS @Ad[N]a[N]e elseif ( getElementData(player,"ARMY") ~= 1 ) and ( model == 287 ) then exports["guimessages"]:outputClient(ArmyText, 255, 0, 0) elseif ( getElementData(player,"SWAT") ~= 1 ) and ( model == 285 ) then exports["guimessages"]:outputClient(swattext, 255, 0, 0) غيره لـ ذا elseif ( getElementData(player, "Group") == "[ARMY]" ) and ( model == 287 ) then exports["guimessages"]:outputClient(ArmyText, 255, 0, 0) elseif ( getElementData(player, "Group") == "[SWAT]" ) and ( model == 285 ) then exports["guimessages"]:outputClient(swattext, 255, 0, 0) ولا تنسا تعدل اسم قروب وشخصية وجرب * على أي اساس مسوي تحقق من المودل وحاط بارتمرز من راسك؟ Link to comment
terreus Posted February 6, 2017 Share Posted February 6, 2017 53 minutes ago, N3xT said: على أي اساس مسوي تحقق من المودل وحاط بارتمرز من راسك؟ ذا جزء من ملف ويوم يعدله يشتغل عادي يوم شفت رسالة لي يقولها يوم يجرب يخش تيم تفكرت وعدلت له اسطر هو بس ينسخ ويلصق وكل شيء معرف ف ملف GW_c.lua function CamAndSkin(key) --outputDebugString("CamAndSkin") setCameraMatrix(3878.8999023438,-1613.0999755859,17.1, 3878.9900488281,-1607.4000244141,16.5) setElementPosition(me2, 3878.9900488281, -1608.4000244141, 16.4) setPedRotation(me2, 180) setPedRotation(me, 180) showPlayerHudComponent("all", false) --exports["guimessages"]:setMessagesVisible(false) if key == "arrow_r" then playSoundFrontEnd(6) curSkinPos = getNextSkinPos(curSkinPos) setElementModel(me, skins[curSkinPos]) elseif key == "arrow_l" then playSoundFrontEnd(14) curSkinPos = getPrevSkinPos(curSkinPos) setElementModel(me, skins[curSkinPos]) end model = getElementModel(me) if model > 101 and model < 105 or model == 293 then --setElementPosition(me2, btx, bty, btz) --setPedRotation(me, 90) --setCameraMatrix(2229.3, -1332.8, 24, 2243, -1333.5, 23.5) setElementInterior(player,0) setElementInterior(me,0) setElementDimension(player,1) setElementDimension(me,1) setElementDimension(me2,1) elseif model > 104 and model < 108 or model > 268 and model < 272 or model == 301 or model == 311 then setElementPosition(me2, 3878.9900488281, -1608.4000244141, 16.4) --setPedRotation(me, 180) setCameraMatrix( 3878.8999023438,-1613.0999755859,17.1, 3878.9900488281,-1607.4000244141,16.5) --setCameraMatrix(gtx, -1685, gtz, gtx, gty, gtz) setElementInterior(player,0) setElementInterior(me,0) setElementDimension(player,1) setElementDimension(me,1) setElementDimension(me2,1) elseif model > 107 and model < 111 then --setElementPosition(me2, vtx, vty, vtz) --setPedRotation(me, 170) --setCameraMatrix(2287.8, -1108, vtz, vtx, vty, vtz) setElementInterior(player,0) setElementInterior(me,0) setElementDimension(player,1) setElementDimension(me,1) setElementDimension(me2,1) elseif model > 113 and model < 117 or model == 292 then --setElementPosition(me2, atx, aty, atz) --setPedRotation(me, 270) --setCameraMatrix(1781, aty, atz, atx, aty, atz) setElementInterior(player,0) setElementInterior(me,0) setElementDimension(player,1) setElementDimension(me,1) setElementDimension(me2,1) elseif model > 279 and model < 289 or model == 71 or model > 162 and model < 167 or model > 264 and model < 268 or model == 312 then --setElementPosition(me2, ptx, pty, ptz) --setPedRotation(me, 180) --setCameraMatrix(ptx, -1694, ptz, ptx, pty, ptz) setElementInterior(player,0) setElementInterior(me,0) setElementDimension(player,1) setElementDimension(me,1) setElementDimension(me2,1) elseif model > 273 and model < 277 then --setElementPosition(me2, mtx, mty, mtz) --setPedRotation(me, 130) --setCameraMatrix(2004.85, -1443.2, 14.1, 2005.4, -1442.62, 13.91) setElementInterior(player,0) setElementInterior(me,0) setElementDimension(player,1) setElementDimension(me,1) setElementDimension(me2,1) else --setElementPosition(me2, ntx, nty, ntz) --setPedRotation(me, 180) --setCameraMatrix(2549.181640625, -1285.0666503906, 1061.8857421875, 2549.1691894531, -1284.0704345703, 1061.7998046875) --setElementInterior(player,2) --setElementInterior(me,2) setElementDimension(player,1) setElementDimension(me,1) setElementDimension(me2,1) end anim = math.random(1, 5) setPedAnimation(me, "COP_AMBIENT", "Coplook_nod") if anim == 1 then setPedAnimation(me, "RIOT", "RIOT_ANGRY") elseif anim == 2 then setPedAnimation(me, "GANGS", "Invite_Yes") elseif anim == 3 then setPedAnimation(me, "STRIP", "strip_D") elseif anim == 4 then setPedAnimation(me, "DANCING", "dnce_M_d") end if key == "enter" then if model > 279 and model < 289 or model == 71 or model > 162 and model < 167 or model > 264 and model < 268 or model == 312 then ctb = countPlayersInTeam(getTeamFromName("Ballas")) ctg = countPlayersInTeam(getTeamFromName("Grove Street")) ctv = countPlayersInTeam(getTeamFromName("Vagos")) cta = countPlayersInTeam(getTeamFromName("Aztec")) ctp = countPlayersInTeam(getTeamFromName("Police")) ctm = countPlayersInTeam(getTeamFromName("Medic")) ctn = countPlayersInTeam(getTeamFromName("No Team")) -- ctr = countPlayersInTeam(getTeamFromName("Rifa")) ctt = countPlayersInTeam(getTeamFromName("Triads")) ctd = countPlayersInTeam(getTeamFromName("Da Nang")) ctma = countPlayersInTeam(getTeamFromName("Mafia")) ctru = countPlayersInTeam(getTeamFromName("Russians")) -- cat = (ctb+ctg+ctv+cta+ctm+ctn)/1.9 if getElementData(player, "TBan") > 0 then exports["guimessages"]:outputClient(TBtext, 255, 0, 0) elseif getElementData(player, "WantLvl") > 0 then exports["guimessages"]:outputClient(wltext, 255, 0, 0) elseif getElementData(player, "Stats") == 3 then exports["guimessages"]:outputClient(jltext, 255, 0, 0) elseif ( getElementData(player, "Group") == "[ARMY]" ) and ( model == 287 ) then exports["guimessages"]:outputClient(ArmyText, 255, 0, 0) elseif ( getElementData(player, "Group") == "[SWAT]" ) and ( model == 285 ) then exports["guimessages"]:outputClient(swattext, 255, 0, 0) elseif getElementData(player, "Job") > 2 then if not JobW then showCursor(true) job = 1 JobWind("!!!WARNING!!!", "Are you sure you want to leave your job?") end elseif getElementData(player, "SDG") > 0 or getElementData(player, "MDG") > 0 or getElementData(player, "EDG") > 0 then exports["guimessages"]:outputClient(cjpdtext, 255, 0, 0) if not JobW then showCursor(true) dad = true JobWind("!!!WARNING!!!", "Do you want to discard all your drugs?") end elseif getElementData(player, "Job") > 2 then exports["guimessages"]:outputClient(cjttext, 255, 0, 0) else doSp() end elseif model > 101 and model < 105 or model == 293 or model > 104 and model < 108 or model > 268 and model < 272 or model == 301 or model == 311 or model > 107 and model < 111 or model > 113 and model < 117 or model == 292 then if getElementData(player, "TBan") > 1 then exports["guimessages"]:outputClient(TBtext, 255, 0, 0) elseif getElementData(player, "Job") > 2 and Team ~= getTeamFromName("No Team") then if not JobW then showCursor(true) job = 1 JobWind("!!!WARNING!!!", "Are you sure you want to leave your job?") end else doSp() end else doSp() end end end Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now