spoty Posted March 28, 2014 Share Posted March 28, 2014 hi there i need some help i have a nice idea for my server its a drift server and with some drift teams but evry team have a base so i was wondering if its possible to make mini map blip that only the team can see from the base like ifplayer is FD then show localplayer blip or something who can help me ? Link to comment
Castillo Posted March 28, 2014 Share Posted March 28, 2014 You can use the function setElementVisibleTo Link to comment
spoty Posted March 28, 2014 Author Share Posted March 28, 2014 You can use the function setElementVisibleTo ok thnx i go try Link to comment
spoty Posted March 28, 2014 Author Share Posted March 28, 2014 so then i did this good or bad? sorry i get sometimes confused about adding ACL things into script setElementVisibleTo ( FD ) local myPlayer = getRandomPlayer( ) local x, y, z = getElementPosition( myPlayer ) local myBlip = createBlip( x, y, z, 51, 0, 0, 0, 255, myPlayer ) Link to comment
Castillo Posted March 28, 2014 Share Posted March 28, 2014 What has that to do with ACL? Also, your code is wrong, it makes no sense. Link to comment
spoty Posted March 28, 2014 Author Share Posted March 28, 2014 hmm ok but i mean with acl like its search if player is in team then show player blip Link to comment
WhoAmI Posted March 28, 2014 Share Posted March 28, 2014 Loop all players, if someone is in team, then let him see the blip. Link to comment
spoty Posted March 28, 2014 Author Share Posted March 28, 2014 okay but i am using mtasa lua scripter but cant find any usefull functions for it and i dont know all the functions 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