فاّرس Posted April 14, 2013 Share Posted April 14, 2013 (edited) السلام عليكم ورحمة الله وبركآتته,, ما يطلع الكلام بالشآت الا اذا مات داخل الماركر,, onPlayerWasted ابي يعطيكم العآفيهه مقدمآ ,, Edited April 14, 2013 by Guest Link to comment
فاّرس Posted April 14, 2013 Author Share Posted April 14, 2013 Marker = createMarker ( 1797.19958, 851.72058, 10.67187, "cylinder", 10, R, G, B, Alpha ) function MarkerHit() for _,w in ipairs(getElementsByType("player")) do if isElementWithinMarker(w, Marker) then outputChatBox("killed ",root,255,0,0,true) end end end addEventHandler("onMarkerHit",Marker,MarkerHit) addEventHandler("onPlayerWasted",Marker,MarkerHit) -- Marker = createMarker ( 1797.19958, 851.72058, 10.67187, "cylinder", 10, R, G, B, Alpha ) function MarkerHit(player) if isElementWithinMarker(source, Marker) then outputChatBox("killed",root,255,0,0,true) end end addEventHandler("onMarkerHit",Marker,MarkerHit) addEventHandler("onPlayerWasted",Marker,MarkerHit) ما ضبطوا ,,// Link to comment
Mr.T9 Posted April 14, 2013 Share Posted April 14, 2013 انت تقول ابي احذف الكلام بالشات احذف هذا outputChatBox("killed",root,255,0,0,true) Link to comment
iPrestege Posted April 14, 2013 Share Posted April 14, 2013 local marker = createMarker ( 1797.19958, 851.72058, 10.67187, "cylinder", 10, R, G, B, Alpha ) addEventHandler("onPlayerWasted",root, function ( ) if isElementWithinMarker ( source,marker ) then outputChatBox("* [ "..getPlayerName(source).." ] Killed! ",root,0,255,0,true) else outputChatBox("* You Was Wasted With Out Marker",source,255,0,0,true) end end ) Link to comment
فاّرس Posted April 14, 2013 Author Share Posted April 14, 2013 local marker = createMarker ( 1797.19958, 851.72058, 10.67187, "cylinder", 10, R, G, B, Alpha ) addEventHandler("onPlayerWasted",root, function ( ) if isElementWithinMarker ( source,marker ) then outputChatBox("* [ "..getPlayerName(source).." ] Killed! ",root,0,255,0,true) else outputChatBox("* You Was Wasted With Out Marker",source,255,0,0,true) end end ) يعططيكك العآفيهه,, 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