Hi , i've tried to make a blip visible to some team , and it's not working , here's the code
local playersInTeam=getPlayersInTeam(team)
for i,v in ipairs(playersInTeam) do
blips[player]=createBlipAttachedTo(player,19,2,255,0,0,0,99999.0,v)
end
blips is a table and player is the (hitElement) of a timer in 'onColShapeHit' , i passed 'hitElement' to the timer, and team is defined as a team , but my problem is , when that blip is being to appear , it appears to all players , not just the players whose is into the 'team' , and if no player is in 'team' then the blip won't appears , any idea how to make that blip appears to the players whose is into the 'specific' team ?