SA-MP Forums Archive
[Help] Marker on map. - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: [Help] Marker on map. (/showthread.php?tid=88632)



[Help] Marker on map. - [mad]MLK - 27.07.2009

Hey, i want to make it so when a player walks though the pickup a target apears on the map but im not sure how to make the target apear heres the coords of were i want the marker
Код:
1634.7031,1571.4391,10.8203
and here is the pickup code
Код:
if (pickupid == truck1)
    {
		SendClientMessage(playerid, 0xFFA500AA, "Nothing Yet.");
    }
please tell me the code i need, and what code would i need to make the marker dissapear on a command?


Re: [Help] Marker on map. - ronyx69 - 27.07.2009

Код:
if (pickupid == truck1)
    {
		SendClientMessage(playerid, 0xFFA500AA, "Nothing Yet.");
        SetPlayerCheckpoint(playerid, 1634.7031, 1571.4391, 10.8203, 3.0);
    }
If you want the checkpoint to disappear:
Код:
DisablePlayerCheckpoint(playerid);
By the way you can only have one checkpoint in one moment for a player. I hope SA:MP 0.3 will be something like checkpointid.