mouamle Posted March 20, 2014 Posted March 20, 2014 السلام عليكم شباب أبي أسوي ماركر أذا دخلها واحد من تيم غير التيم المحدد يموت وشكرا
jafar Posted March 20, 2014 Posted March 20, 2014 marker = createMarker ( x, y, z, "cylinder", size, r, g, b, a ); teamName = "Your Team" addEventHandler ( "onMarkerHit", marker, function ( element ) if getElementType ( element ) == "player" then if getPlayerTeam ( element ) ~= getTeamFromName ( teamName ) then killPed ( element ); end end end , false ); x, y, z = احداثياتكـ size = حجم الماركر r, g, b = ألوان الماركر a = شفافية الماركر ---------- teamName = اسم التيم
mouamle Posted March 20, 2014 Author Posted March 20, 2014 marker = createMarker ( x, y, z, "cylinder", size, r, g, b, a ); teamName = "Your Team" addEventHandler ( "onMarkerHit", marker, function ( element ) if getElementType ( element ) == "player" then if getPlayerTeam ( element ) ~= getTeamFromName ( teamName ) then killPed ( element ); end end end , false ); x, y, z = احداثياتكـ size = حجم الماركر r, g, b = ألوان الماركر a = شفافية الماركر ---------- teamName = اسم التيم ششكرا
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