Jump to content

Help


Focker

Recommended Posts

Posted

What? List of players in a team?

getPlayersInTeam 

Or leave specific team?

setPlayerTeam(PLAYER, nil) 

Do you require a paid scripter? Contact me! (Unavailable) Currently I am experienced in Lua, PHP, HTML, CSS, SQL and JS.

Developer and owner of

https://projectbea.st - Project Beast
Posted

I don't understand you.

Do you require a paid scripter? Contact me! (Unavailable) Currently I am experienced in Lua, PHP, HTML, CSS, SQL and JS.

Developer and owner of

https://projectbea.st - Project Beast
Posted

I want to try to make a script that leaves the team list something like

function ponerPlayerList () 
    if ( players ) then  
        guiGridListClear(list) 
        for id, player in ipairs(getElementsByType("player")) do 
    local swats = ( player == localPlayer ) and getPlayerTeam( player ) and getTeamName( getPlayerTeam( player )  == 'Criminals') 
            local row = guiGridListAddRow ( list ) 
            guiGridListSetItemText ( list, row, players, getPlayerName ( player ), false, false ) 
        end 
    end 
end 
  

Posted
function ponerPlayerList () 
    if ( players ) then 
        guiGridListClear(list) 
        for id, player in ipairs(getElementsByType("player")) do 
            if player ~= localPlayer and getPlayerTeam(player) and getTeamName(getPlayerTeam(player)) == "Criminals" then 
                local row = guiGridListAddRow ( list ) 
                guiGridListSetItemText ( list, row, players, getPlayerName ( player ), false, false ) 
            end 
        end 
    end 
end 

Do you require a paid scripter? Contact me! (Unavailable) Currently I am experienced in Lua, PHP, HTML, CSS, SQL and JS.

Developer and owner of

https://projectbea.st - Project Beast
Posted

It should work. Debugscript?

Do you require a paid scripter? Contact me! (Unavailable) Currently I am experienced in Lua, PHP, HTML, CSS, SQL and JS.

Developer and owner of

https://projectbea.st - Project Beast
Posted

Whaaaat???? When player leaves the team, the grid list does not get refreshed?

Do you require a paid scripter? Contact me! (Unavailable) Currently I am experienced in Lua, PHP, HTML, CSS, SQL and JS.

Developer and owner of

https://projectbea.st - Project Beast
Posted

I don't understand a word you say, I cannot help you.

Do you require a paid scripter? Contact me! (Unavailable) Currently I am experienced in Lua, PHP, HTML, CSS, SQL and JS.

Developer and owner of

https://projectbea.st - Project Beast
Posted

How can I help you if I can't understand you? Also note that this is not a request forum. Write your own script, we can help you solve the issues. Read this: viewtopic.php?f=91&t=47897

Do you require a paid scripter? Contact me! (Unavailable) Currently I am experienced in Lua, PHP, HTML, CSS, SQL and JS.

Developer and owner of

https://projectbea.st - Project Beast

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...