Scripting Posted June 17, 2012 Share Posted June 17, 2012 Hi all , In my code this to create a radar blip for other player [team]| don t work this, setElementParent can fix problem and thx! server-side: team = getTeamFromName("Team2") otherPlayers = getPlayersInTeam(team) myBlip = createBlip ( 0, 0, 0 ) -- Make the player the parent of the blip, so that the blip follows the player around setElementParent ( myBlip, otherPlayers ) Link to comment
DiSaMe Posted June 17, 2012 Share Posted June 17, 2012 Setting the parent of element doesn't do anything related to positions. You need this function: createBlipAttachedTo Get players in the team, cycle through them and create a blip for every player. 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