iPrestege Posted June 9, 2013 Share Posted June 9, 2013 attempt to call global 'getPlayerAccount' (a nil value) حاطة كلنت ؟ Link to comment
فاّرس Posted June 9, 2013 Share Posted June 9, 2013 attempt to call global 'getPlayerAccount' (a nil value) حاطة كلنت ؟ لا اكيد ,, Link to comment
iPrestege Posted June 9, 2013 Share Posted June 9, 2013 ~ مدري عنك فية شيء خطأ عندك آكيد .. انك حاطة بـ كلنت ذذ Link to comment
Blaawee Posted June 9, 2013 Share Posted June 9, 2013 local Acc = { ['Account'] = true, ['Account'] = true, } addCommandHandler ( 'CheckAccount', function ( PlayerElement, _, theAccount ) local Account = getPlayerAccount ( PlayerElement ) if ( Account ) and not isGuestAccount ( Account ) then if Acc [ getAccountName ( theAccount ) ] then outputChatBox ( 'Account Found' ) end end end ) -- /CheckAccount [accountName] Link to comment
فاّرس Posted June 9, 2013 Share Posted June 9, 2013 local Acc = { ['Account'] = true, ['Account'] = true, } addCommandHandler ( 'CheckAccount', function ( PlayerElement, _, theAccount ) local Account = getPlayerAccount ( PlayerElement ) if ( Account ) and not isGuestAccount ( Account ) then if Acc [ getAccountName ( theAccount ) ] then outputChatBox ( 'Account Found' ) end end end ) -- /CheckAccount [accountName] ما راح يشتغل Link to comment
iPrestege Posted June 9, 2013 Share Posted June 9, 2013 local Acc = { ['Account'] = true, ['Account'] = true, } addCommandHandler ( 'CheckAccount', function ( PlayerElement, _, theAccount ) local Account = getPlayerAccount ( PlayerElement ) if ( Account ) and not isGuestAccount ( Account ) then if Acc [ getAccountName ( theAccount ) ] then outputChatBox ( 'Account Found' ) end end end ) -- /CheckAccount [accountName] ما راح يشتغل من بداية كودي بيشتغل ؟ .. بس ممكن تفهمنا وين خطأنآ ؟ ي الغآلي ..؟ Link to comment
فاّرس Posted June 9, 2013 Share Posted June 9, 2013 Bad argument @ 'getAccountName' [Expected account at argument 1,got nill] Link to comment
iPrestege Posted June 9, 2013 Share Posted June 9, 2013 Bad argument @ 'getAccountName' [Expected account at argument 1,got nill] كودي ؟ .. Link to comment
فاّرس Posted June 9, 2013 Share Posted June 9, 2013 Bad argument @ 'getAccountName' [Expected account at argument 1,got nill] كودي ؟ .. لآ , كودك كان في كود onPlayerCommand مدري وش قصته ويخرب , الحين اشتغل كودك بس بلاوي خطأ 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