Area Types?
#4

Would this work in the following way? Am I able to use it like this?

pawn Код:
BusinessInfo[b][bLandlineArea] = CreateDynamicArea(areaid); <--- EXAMPLE (I know it's not the correct format)
Streamer_SetInt(STREAMER_TYPE_AREA, BusinessInfo[b][bLandlineArea], E_STREAMER_TYPE, BUSINESS_LANDLINE_AREA);
Streamer_SetInt(STREAMER_TYPE_AREA, BusinessInfo[b][bLandlineArea], E_STREAMER_EXTRA_ID, b);

public OnPlayerEnterDynamicArea(playerid, areaid)
{
    if(Streamer_GetInt(STREAMER_TYPE_AREA, areaid, E_STREAMER_TYPE) == BUSINESS_LANDLINE_AREA)
    {
        new b = Streamer_GetInt(STREAMER_TYPE_AREA, areaid, E_STREAMER_EXTRA_ID);
       
        LandlineInteraction[playerid] = 1;
        LandlineNo[playerid] = BusinessInfo[b][bLandlineNo];
        LandlineCode[playerid] = BusinessInfo[b][bLandlineCode];
       
        //THE PLAYER CAN NOW USE HOTKEY TO INTERACT WITH LANDLINE
    }
}
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)