WASSIm. Posted May 21, 2013 Share Posted May 21, 2013 slm loled 7abit na3rf chta3ml hadhi ? function isPlayerOnGroupIV ( thePlayer ) local inGroupIV = false for _, player in ipairs(getElementsByType("player")) do if (getElementData(player, "Idioma") == "IV") then inGroupIV = true break end end Link to comment
Sparrow Posted May 21, 2013 Share Posted May 21, 2013 hedhi export function. tnajm t9oul hedhakima group system idha enti fi group IV inGroupIV twali true Link to comment
WASSIm. Posted May 21, 2013 Author Share Posted May 21, 2013 hedhi export function.tnajm t9oul hedhakima group system idha enti fi group IV inGroupIV twali true ok. ama 7aja mafhamthach 3alach ki yabda wa7ed fi group iv iwaliw il player kol fi group iv Link to comment
WASSIm. Posted May 21, 2013 Author Share Posted May 21, 2013 exm hadha ki yabda wa7ed wa7ed t5al lil server wa ya5tar GroupIV wa ki ot5al wa7ed a5ar mba3do wa ya5tar ro7o fi GroupTBOGT tadhhorlo il dxDrawRectangle mta3 GroupIV if ( exports.setting:isPlayerOnGroupIV ( source ) ) then dxDrawRectangle(hx3, hy3, hx4, hy4,tocolor(90,125,90,255),false) elseif ( exports.setting:isPlayerOnGroupTBOGT ( source ) ) then dxDrawRectangle(hx3, hy3, hx4, hy4,tocolor(220,220,220,255),false) elseif ( exports.setting:isPlayerOnGroupTLAD ( source ) ) then dxDrawRectangle(hx3, hy3, hx4, hy4,tocolor(90,0,0,255),false) end 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