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(playerid, x,y,z, size);
or if you mean a Pickup like floating i icon,
PHP код:
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.
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 ![Smiley](images/smilies/smile.png)
|
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
![Smiley](images/smilies/smile.png)
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 ![Smiley](images/smilies/smile.png) And yes i repped you ![Cheesy](images/smilies/biggrin.png)
|
Cheers