Streamer data manipulation.
#4

Alright, so you want to stream a Map Icon, but only for a single player...

The Native is:
Код:
native CreateDynamicMapIcon(Float:x, Float:y, Float:z, type, color, worldid = -1, interiorid = -1, playerid = -1, Float:streamdistance = 100.0);
So try: (I Just changed the last -1(everyone) to playerid assuming thats the playerid entry)
Код:
GPSIcons[playerid][slotid] = CreateDynamicMapIconEx(StoreInfo[b][EntryX],StoreInfo[b][EntryY],StoreInfo[b][EntryZ], icontype, 0, MAPICON_GLOBAL, 9999.0, { -1 }, { playerid });
Reply


Messages In This Thread
Streamer data manipulation. - by Kyle - 31.08.2012, 20:29
Re: Streamer data manipulation. - by XGh0stz - 31.08.2012, 20:40
Re: Streamer data manipulation. - by Kyle - 31.08.2012, 20:50
Re: Streamer data manipulation. - by XGh0stz - 31.08.2012, 21:18

Forum Jump:


Users browsing this thread: 1 Guest(s)