./BlackBird# Posted June 24, 2013 Share Posted June 24, 2013 getAccountData setAccountData زي setElementData getElementData بس هاذي للحساب Link to comment
iMr.Dawix~# Posted June 24, 2013 Share Posted June 24, 2013 getAccountData setAccountData زي setElementData getElementData بس هاذي للحساب الفرق بينهم انه الي تحفظ بالحساب الي هي اكونت داتا تطلع وتدخل وتسجل دخول ما تروح لكن الألمنت داتا لو طلعت ودخلت تروح Link to comment
./BlackBird# Posted June 24, 2013 Share Posted June 24, 2013 getAccountData setAccountData زي setElementData getElementData بس هاذي للحساب الفرق بينهم انه الي تحفظ بالحساب الي هي اكونت داتا تطلع وتدخل وتسجل دخول ما تروح لكن الألمنت داتا لو طلعت ودخلت تروح + ان سيت المينت داتا للالمينت اما سيت اكاونت داتا للحساب Link to comment
iPrestege Posted June 24, 2013 Share Posted June 24, 2013 ممكن مثال ؟ addCommandHandler('hi', function ( player ) if player and not isGuestAccount ( getPlayerAccount ( player ) ) then setAccountData ( getPlayerAccount ( player ),'aChatHi','Hi @ '..getPlayerName ( player )..'' ) end end ) addCommandHandler('results', function ( player ) if player and not isGuestAccount ( getPlayerAccount ( player ) ) then outputChatBox ( getAccountData ( getPlayerAccount ( player ),'aChatHi' ) ) end end ) Link to comment
BadBoy Posted June 24, 2013 Author Share Posted June 24, 2013 ممكن مثال ؟ addCommandHandler('hi', function ( player ) if player and not isGuestAccount ( getPlayerAccount ( player ) ) then setAccountData ( getPlayerAccount ( player ),'aChatHi','Hi @ '..getPlayerName ( player )..'' ) end end ) addCommandHandler('results', function ( player ) if player and not isGuestAccount ( getPlayerAccount ( player ) ) then outputChatBox ( getAccountData ( getPlayerAccount ( player ),'aChatHi' ) ) end end ) مـآفهمـت Link to comment
K1NG Posted June 24, 2013 Share Posted June 24, 2013 ممكن مثال ؟ addCommandHandler('hi', function ( player ) if player and not isGuestAccount ( getPlayerAccount ( player ) ) then setAccountData ( getPlayerAccount ( player ),'aChatHi','Hi @ '..getPlayerName ( player )..'' ) end end ) addCommandHandler('results', function ( player ) if player and not isGuestAccount ( getPlayerAccount ( player ) ) then outputChatBox ( getAccountData ( getPlayerAccount ( player ),'aChatHi' ) ) end end ) هنا التحقق من بلاير ماله أي داعي أبداً ، المفروض تحقق إذا تم جلب حساب اللاعب ثم تتحقق إذا حسابه مهو زائر .. addCommandHandler ( 'hi', function ( player ) local acc = getPlayerAccount ( player ) if ( acc ) and not ( isGuestAccount ( acc ) ) then setAccountData ( acc, 'aChatHi', 'Hi @ ' .. getPlayerName ( player ) ) end end ) addCommandHandler ( 'results', function ( player ) local acc = getPlayerAccount ( player ) if ( acc ) and not ( isGuestAccount ( acc ) ) then outputChatBox ( getAccountData ( acc, 'aChatHi' ) or 'N/A' ) end end ) مـآفهمـت وشوف النتيجة بنفسكـ /results ثم إكتب بالشات /hi روح للسيرفر وسجل دخولكـ ثم إكتب بالشات 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