Jump to content

Create a Blip that shows only to the Player who died


Big Smoker

Recommended Posts

Hi, I need the same help, plus my help is the following I want a blip to appear only for 1 player in case the blip appears showing the place where he died, I did it this way to appear blip

----------------------------------------------------------------------------------

PedCol = createColSphere (x, y, z, 1.5) 
killPed (ped) 
plblip = createBlip (x, y, z, 19) --- Here's Blip
setTimer (destroyDeadPlayer, 2700000,1, ped, pedCol, plblip

------------------------------------------------------------------------------------

This is a part of the function I am using, I want to put just to appear the blip of the body of the player who died, without others also seeing ... from now thank you THANK YOU

Att,

~ Baido

Edited by felipebaidoloko
Tradução
Link to comment

This looks like DayZ.

Just add this t the code.

Change "source" to the player arg in the function if it isn't source.

local pblip = createBlip ( x, y, z , 23, 2, 255, 255, 255, 255, 0, 99999, source) --creates the blip at the location.

setTimer(destroyElement,2700000,blip) --destroys the blip when the other timer destroys Dead Player.

Tip: its good to read the functions wiki and learn the arguments for functions.

Edited by loki2143
Link to comment
  • 1 month later...
Thank you very much, it helped me a lot!

Good night, I'm trying to create a gate script too, but I want to make one that makes a mark and only opens the door when the player is inside ... when the player enters inside the mark the gate opens and then closes. . Can someone help me? In case I want to do this for an elevator I need to put in the map of my server ... and putting a gate by command will not work well there I need an automatic THANK YOU FROM AFTER

Att

~Baido

Edited by felipebaidoloko
Translation
Link to comment

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...