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