SA-MP Forums Archive
Markers - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Markers (/showthread.php?tid=606289)



Markers - Micko123 - 02.05.2016

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)


Re: Markers - GTLS - 02.05.2016

if you mean adding a Checkpoint use:
PHP код:
 SetPlayerCheckpoint(playeridx,y,zsize); 
or if you mean a Pickup like floating i icon,
PHP код:
 CreatePickup(12391x,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.


Re: Markers - Micko123 - 02.05.2016

Yup that is what i wanted. Thank you


Re: Markers - GTLS - 02.05.2016

Quote:
Originally Posted by Micko123
Посмотреть сообщение
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


Re: Markers - Micko123 - 02.05.2016

Don't worry about code. I know how to write it And yes i repped you


Re: Markers - GTLS - 02.05.2016

Quote:
Originally Posted by Micko123
Посмотреть сообщение
Don't worry about code. I know how to write it And yes i repped you
Cheers