Jump to content

Recommended Posts

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

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...