rabe3 Posted August 19, 2013 Share Posted August 19, 2013 السلام عليكم بدي طريقه عندما اعمل تسجيل خروج من الكونسول يخلي كل الاموال 0 Link to comment
فاّرس Posted August 19, 2013 Share Posted August 19, 2013 مشكور على الدرس + ما تحس ان القسم غلط؟ Link to comment
iPrestege Posted August 19, 2013 Share Posted August 19, 2013 onPlayerCommand setPlayerMoney -- 0 Ex : addEventHandler('onPlayerCommand',root, function ( c ) if c and c == 'MOD3' then -- do something outputChatBox ( 'Hello MOD3 ' ) end end ) Link to comment
فاّرس Posted August 19, 2013 Share Posted August 19, 2013 onPlayerCommand setPlayerMoney -- 0 Ex : addEventHandler('onPlayerCommand',root, function ( c ) if c and c == 'MOD3' then -- do something outputChatBox ( 'Hello MOD3 ' ) end end ) مابي اتدخل بس انبهك لا اكثر, السلام عليكم بدي طريقه عندما اعمل تسجيل خروج من الكونسول يخلي كل الاموال 0 Link to comment
iPrestege Posted August 19, 2013 Share Posted August 19, 2013 onPlayerCommand setPlayerMoney -- 0 Ex : addEventHandler('onPlayerCommand',root, function ( c ) if c and c == 'MOD3' then -- do something outputChatBox ( 'Hello MOD3 ' ) end end ) مابي اتدخل بس انبهك لا اكثر, السلام عليكم بدي طريقه عندما اعمل تسجيل خروج من الكونسول يخلي كل الاموال 0 عادي يقدر يسوي اذا كان c == 'logout' مع تحقق الحساب Link to comment
AHMAD1234 Posted August 19, 2013 Share Posted August 19, 2013 function changeMoney() setPlayerMoney( source, 0 ) end addEventHandler("onPlayerLogout", getRootElement(), changeMoney) 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