PDA

View Full Version : Markers


Micko123
02/05/2016, 08:35 AM
Guys hey. How to careate marker on x, y, z coords sowhen player enter market it will show dialog for him (i know how to make dialogs, i have coords i just dont know how to make marker)

GTLS
02/05/2016, 08:56 AM
if you mean adding a Checkpoint use:
SetPlayerCheckpoint(playerid, x,y,z, size);
or if you mean a Pickup like floating i icon,
CreatePickup(1239, 1, x,y,z,0);

then in OnPlayerEnterCheckPoint or OnPlayerPickupPickup add ShowPlayerDialog function to show dilog box.
after that in OnPlayerDialogResponce do what ever you want to do in your list.

Micko123
02/05/2016, 09:00 AM
Yup that is what i wanted. Thank you :)

GTLS
02/05/2016, 09:02 AM
Yup that is what i wanted. Thank you :)

i am very glad it solved your problem.i am sorry i am very busy rightnow otherwise i would have wrote full code for you.

rep+ me if you liked my answer :P

Micko123
02/05/2016, 09:03 AM
Don't worry about code. I know how to write it :) And yes i repped you :D

GTLS
02/05/2016, 09:06 AM
Don't worry about code. I know how to write it :) And yes i repped you :D

Cheers :) :p :lol: