yasin0 Posted May 31, 2017 Share Posted May 31, 2017 الاسم مايظهر ويكتب لي attemp addEventHandler("onPlayerWasted",root,function (_,_,aDead,_,_) exports["notices"]:addNotification(" Dead "..aDead.."", "error") end ); مايكتب لي انه مات Link to comment
^iiEcoo'x_) Posted May 31, 2017 Share Posted May 31, 2017 Just now, yasin0 said: الاسم مايظهر ويكتب لي attemp addEventHandler("onPlayerWasted",root,function (_,_,aDead,_,_) exports["notices"]:addNotification(" Dead "..aDead.."", "error") end ); مايكتب لي انه مات getPlayerName Link to comment
AHMED MOSTAFA Posted May 31, 2017 Share Posted May 31, 2017 Just now, yasin0 said: الاسم مايظهر ويكتب لي attemp addEventHandler("onPlayerWasted",root,function (_,_,aDead,_,_) exports["notices"]:addNotification(" Dead "..aDead.."", "error") end ); مايكتب لي انه مات getPlayerName ( source ) Link to comment
yasin0 Posted May 31, 2017 Author Share Posted May 31, 2017 طيب كيف اجيب البارتمر دامي بحط النيم Link to comment
^iiEcoo'x_) Posted May 31, 2017 Share Posted May 31, 2017 الارقيومنت الي حاطه هو :- سلاح القاتل والمصدر ( الاعب الي مات ) هو source Link to comment
AHMED MOSTAFA Posted May 31, 2017 Share Posted May 31, 2017 Just now, yasin0 said: طيب كيف اجيب البارتمر دامي بحط النيم Just now, Killer Project said: getPlayerName ( source ) راجع الردود .. Link to comment
yasin0 Posted May 31, 2017 Author Share Posted May 31, 2017 ماضبط مكتوب a user data value root addEventHandler("onPlayerWasted",root,function (_,_,aDead,_,_) local aName = getPlayerName(source) exports["notices"]:addNotification(root" "..aName.." its Dead"..aDead.."", "error") end ); Link to comment
^iiEcoo'x_) Posted May 31, 2017 Share Posted May 31, 2017 (edited) . addEventHandler("onPlayerWasted",root,function (_ , _ , wep ) local aName = getPlayerName(source) exports["notices"]:addNotification(root," "..aName.." its Dead "..wep.." ", "error") end ); Edited May 31, 2017 by #_iMr.[E]coo 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