#HMO-GODA Posted January 7, 2016 Share Posted January 7, 2016 الـــــــســــــــــــــلام عـــــــــــلـــــــــــــــــيــــــــــــــــــــــكـــــــــــــــــــم لـــــــو ســـمـــحـتـــم انا ابي كودات برمجة المهمات وابي مثال شكرا Link to comment
Ja[B]er[X]Pro Posted January 7, 2016 Share Posted January 7, 2016 addEventHandler = 'onMarkerHit' addEventHandler = 'onClientPlayerDamage' cancelEvent setElementData getElementData getPlayerMoney setPlayerMoney setElementPosition setElementDimension setElementInterior getPlayerTeam Link to comment
Ja[B]er[X]Pro Posted January 7, 2016 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
Ja[B]er[X]Pro Posted January 7, 2016 Share Posted January 7, 2016 القسم خطأ ينقل إلى قسم البرمجة 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