Ja[B]er[X]Pro Posted January 7, 2016 Share Posted January 7, 2016 السلام عليكم ورحمة الله وبركاته ابي فنكشنات مهمة شرطة×حرامية Im need functions Mission Team Police vs Team No Naem Link to comment
SycroX Posted January 7, 2016 Share Posted January 7, 2016 addEventHandler = 'onMarkerHit' addEventHandler = 'onClientPlayerDamage' cancelEvent setElementData getElementData getPlayerMoney setPlayerMoney setElementPosition setElementDimension setElementInterior Link to comment
Ja[B]er[X]Pro Posted January 7, 2016 Author Share Posted January 7, 2016 local Marker = createMarker( 2226.77954,1838.84619,9.82031, "cylinder", 1.5, 255, 250, 0, 100 ) addEventHandler( "onMarkerHit", Marker, function() local Team = getPlayerTeam("No Team) if Team = No Team then setElementPosition( source, 2203.62476, -1144.56409, 1033.71802) setElementInterior( source,15) end end) صح او لا؟؟ دا للنو تيم Link to comment
SycroX Posted January 7, 2016 Share Posted January 7, 2016 local Marker = createMarker( 2226.77954,1838.84619,9.82031, "cylinder", 1.5, 255, 250, 0, 100 ) addEventHandler( "onMarkerHit", Marker, function() local Team = getPlayerTeam("No Team) if Team = No Team then setElementPosition( source, 2203.62476, -1144.56409, 1033.71802) setElementInterior( source,15) end end) صح او لا؟؟ دا للنو تيم addEventHandler("onMarkerHit", Marker, function(player) if getElementType(player) == "player" and not isPedInVehicle(player) then if source == Marker then local team = getPlayerTeam(player) if team and getTeamName(team) == "No Team" then setElementPosition(player, x, y, z) setElementDimension(player, 1) setElementHealth(player, 100) end end end end) Link to comment
Ja[B]er[X]Pro Posted January 7, 2016 Author Share Posted January 7, 2016 addEventHandler("onMarkerHit", Marker, function(player) if getElementType(player) == "player" and not isPedInVehicle(player) then if source == Marker then local team = getPlayerTeam(player) if team and getTeamName(team) == "No Team" then setElementPosition(player, x, y, z) setElementDimension(player, 1) setElementHealth(player, 100) end end end end) شكراً لك Link to comment
#HMO-GODA Posted January 7, 2016 Share Posted January 7, 2016 ممكن طلب وشرح كيف اسوي مهمة لو تسمح يا احمد Link to comment
SycroX Posted January 8, 2016 Share Posted January 8, 2016 ض1 مهمة بحالها دي تبا له اشياء كتيرة استخدم الفانكشنات الي عطيتها لجابر و لو ما عرفت سوي اي شي و نحن نساعدك 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