concil Posted August 19, 2019 Share Posted August 19, 2019 (edited) Hello Guys, is there any way to create player only blips? like players who have a job and for them create the blips... Greetz, Concil Edited August 19, 2019 by concil Link to comment Share on other sites More sharing options...
LeonMrBonnie Posted August 19, 2019 Share Posted August 19, 2019 Create an event clientside where you create the blip, and call that event for the player that should see the blip. Link to comment Share on other sites More sharing options...
concil Posted August 19, 2019 Author Share Posted August 19, 2019 (edited) Thanks buddy works perfectly for me ... for all who wants the same for client side var jobBlips = new Array(); mp.events.add('createJobBlip', (player, ID, position, name, color, shortRange) => { jobBlips[jobBlips.length + 1] = mp.blips.new(parseInt(ID), position, { name: name, color: parseInt(color), shortRange: (shortRange === 'true'), }); }); mp.events.add('removeJobBlips', (player) => { jobBlips.forEach(function(object, index) { jobBlips[index].destroy(); }); jobBlips = null; jobBlips = new Array(); }); Edited August 19, 2019 by concil Link to comment Share on other sites More sharing options...
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