Dynamic Area
#2

You can add functions in
Код:
forward OnPlayerEnterDynamicArea(playerid, STREAMER_TAG_AREA areaid);
forward OnPlayerLeaveDynamicArea(playerid, STREAMER_TAG_AREA areaid);
publics.

For example:

Код:
public OnPlayerEnterDynamicArea(playerid, STREAMER_TAG_AREA areaid);
{
	if(areaid == DmMapInfo[Nitro])
	{
		SendClientMessage(playerid, 0xFFFFFF, "You have entered the area.");
	}
	return 1;
}

public OnPlayerLeaveDynamicArea(playerid, STREAMER_TAG_AREA areaid);
{
	if(areaid == DmMapInfo[Nitro])
	{
		SendClientMessage(playerid, 0xFFFFFF, "You have left the area.");
	}
	return 1;
}
Reply


Messages In This Thread
Dynamic Area - by theralio - 07.12.2018, 21:32
Re: Dynamic Area - by XpDeviL - 07.12.2018, 21:40
Re: Dynamic Area - by Kane - 08.12.2018, 01:22

Forum Jump:


Users browsing this thread: 1 Guest(s)