SA-MP Forums Archive
Map icon +rep - 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: Map icon +rep (/showthread.php?tid=394918)



Map icon +rep - Morkano - 24.11.2012

I need SetPlayerMapIcon when i found pickup there will be maked icon in map so please help me give me the code


Re: Map icon +rep - [HK]Ryder[AN] - 24.11.2012

pawn Код:
public OnPlayerPickUpPickup(playerid, pickupid)
{
    if(pickupid == youridhere) SetPlayerMapIcon(playerid, iconid, Float:x, Float:y, Float:z, markertype, color, style);
    return 1;
}