Area Types?
#3

Quote:
Originally Posted by Gammix
Посмотреть сообщение
Yes you can do with the following section:


Example:
pawn Код:
#define AREA_TYPE_BUSINESS (0)

Streamer_SetIntData(STREAMER_TYPE_AREA, area_id, E_STREAMER_EXTRA_ID, AREA_TYPE_BUSINESS);

if (Streamer_GetIntData(STREAMER_TYPE_AREA, area_id, E_STREAMER_EXTRA_ID) == AREA_TYPE_BUSINESS )
{
    // its business area
}
Ah ok I see how this is working. So upon creating an area just after I'll need to use the Streamer_SetIntData to store some extra information into the area and then Streamer_GetIntData to receive it using the areaid supplied by OnPlayerEnterDynamicArea - Thanks buddy that's brilliant and also brilliant of incognito to make it work like this. Genius!

I was thinking of ways I could store information using the areaid upon creation of it but it's already done haha! +Repped you
Reply


Messages In This Thread
Area Types? - by FarTooBaked - 05.02.2016, 13:05
Re: Area Types? - by Gammix - 05.02.2016, 13:23
Re: Area Types? - by FarTooBaked - 05.02.2016, 15:06
Re: Area Types? - by FarTooBaked - 05.02.2016, 15:27
Re: Area Types? - by amirm3hdi - 05.02.2016, 15:51
Re: Area Types? - by FarTooBaked - 05.02.2016, 17:21
Re: Area Types? - by Gammix - 05.02.2016, 22:24
Re: Area Types? - by AmigaBlizzard - 05.02.2016, 23:21

Forum Jump:


Users browsing this thread: 1 Guest(s)