07.12.2018, 21:40
You can add functions in
publics.
For example:
Код:
forward OnPlayerEnterDynamicArea(playerid, STREAMER_TAG_AREA areaid); forward OnPlayerLeaveDynamicArea(playerid, STREAMER_TAG_AREA areaid);
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; }