05.02.2016, 15:27
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
}
}