Jump to content

طلب كود


Recommended Posts

Posted

السلام عليكم شباب

ابي كود

وهو لما اللاعب يدخل ماركر ياخذ سلاح

ايدي السلاح

46

اتمني تعطوني الكود

p_5141g3501.png

 

Posted

createMaker -- صنع ماركر

onMarkerHit -- عند لمس الماركر

getElementType -- جلب العنصر الي لمس الماركر لاعب آلخخ

giveWeapon -- اعطاء سلاح

للاسف هو يبي جاهز :cry:

  
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) 

Skype :- mezo.prince1

FaceBook :- https://www.facebook.com/medolua

YouTube :- http://www.youtube.com/c/MeZoOPriNse 

76561198820126897.png

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...