[Help] Marker on map.
#1

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?
Reply
#2

Код:
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.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)