#STZ Posted June 21, 2016 Posted June 21, 2016 السلام عليكم شباب ابي كود وهو لما اللاعب يدخل ماركر ياخذ سلاح ايدي السلاح 46 اتمني تعطوني الكود
' A F . Posted June 21, 2016 Posted June 21, 2016 createMaker -- صنع ماركر onMarkerHit -- عند لمس الماركر getElementType -- جلب العنصر الي لمس الماركر لاعب آلخخ giveWeapon -- اعطاء سلاح
Me[Z]oO Posted June 21, 2016 Posted June 21, 2016 createMaker -- صنع ماركر onMarkerHit -- عند لمس الماركر getElementType -- جلب العنصر الي لمس الماركر لاعب آلخخ giveWeapon -- اعطاء سلاح للاسف هو يبي جاهز marker = createMarker(x,y,z,"cylinder",1,0,255,0,255) addEventHandler("onMarkerHit",root, function(noob) if getElementType(noob) == "player" and source == marker and not isPedInVehicle(noob) then giveWeapon ( noob, 46, 200) end end)
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