Focker Posted July 26, 2015 Posted July 26, 2015 Hello I have a question. I can say that functions can take to leave me a list of a team player.
GTX Posted July 27, 2015 Posted July 27, 2015 What? List of players in a team? getPlayersInTeam Or leave specific team? setPlayerTeam(PLAYER, nil)
Focker Posted July 27, 2015 Author Posted July 27, 2015 no, I put a list but it guiCreateGridList a team
Focker Posted July 28, 2015 Author Posted July 28, 2015 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
GTX Posted July 28, 2015 Posted July 28, 2015 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
Focker Posted July 28, 2015 Author Posted July 28, 2015 It does not work, plus I want everyone to see that list but that is only the criminal team
Focker Posted July 29, 2015 Author Posted July 29, 2015 It leaves no mistake, but I want everyone to see the list but only leave the team since the script
GTX Posted July 29, 2015 Posted July 29, 2015 Whaaaat???? When player leaves the team, the grid list does not get refreshed?
Focker Posted July 29, 2015 Author Posted July 29, 2015 but nose if do to that list aparesca one team in place and that everyone can see
Focker Posted July 29, 2015 Author Posted July 29, 2015 please help me aparesca need a team on the list as a team in the script and everyone can see that list
GTX Posted July 29, 2015 Posted July 29, 2015 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
KariiiM Posted July 29, 2015 Posted July 29, 2015 Hey,use translation to let helpers understand your point and to let it safe,if you're talking with spanish language then,you have to go to this section "Other Languages" https://forum.multitheftauto.com/viewforum.php?f=117
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