DaminkO Posted February 11, 2016 Share Posted February 11, 2016 function brob ( player ) local accName = getAccountName ( getPlayerAccount ( player ) ) if isObjectInACLGroup ( 'user.'.. accName, aclGetGroup ( 'Console' ) ) then triggerClientEvent ( player, 'slam', player ) end end addCommandHandler ( 'Money', brob ) function tyt ( amount ) for g, thePlayers in ipairs ( getElementsByType ( 'player' ) ) do givePlayerMoney ( thePlayers, amount ) exports.TopBarChat:sendClientMessage("C.Console Give all Player ( '.. amount ..'$ )",thePlayers, 255, 127, 0, false ) hidden = { } end end addEvent ( 'walykm', true ) addEventHandler ( 'walykm', getRootElement ( ), tyt ) exports.TopBarChat:sendClientMessage("بـ توزيع مبل",thePlayers, 255, 127, 0, false ) hidden = { } ما رضت تضهر قيمه الفلوس الي وزعتها Link to comment
' A F . Posted February 11, 2016 Share Posted February 11, 2016 function brob ( player ) local accName = getAccountName ( getPlayerAccount ( player ) ) if isObjectInACLGroup ( 'user.'.. accName, aclGetGroup ( 'Console' ) ) then triggerClientEvent ( player, 'slam', player ) end end addCommandHandler ( 'Money', brob ) function tyt ( amount ) for g, thePlayers in ipairs ( getElementsByType ( 'player' ) ) do givePlayerMoney ( thePlayers, amount ) exports.TopBarChat:sendClientMessage("C.Console Give all Player ( "..amount.."$ )",thePlayers, 255, 127, 0, false ) end end addEvent ( 'walykm', true ) addEventHandler ( 'walykm', getRootElement ( ), tyt ) 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