Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public OnPlayerEnterDynamicArea(playerid, areaid)
- {
- foreach(new id: Territorios)
- {
- if(TrInfo[id][tr_Area] == area)
- {
- SendClientMessage(playerid, -1, fmat_return("Você entrou no territorio: %s", TrInfo[data[1]][tr_Name]));
- GangZoneFlashForAllEx(TrInfo[data[1]][tr_GangZone], ((OrgsColorsTag[13] & ~0xFF) | 0x77), ((OrgsColorsTag[15] & ~0xFF) | 0x77));
- break;
- }
- }
- }
- public OnPlayerEnterDynamicArea(playerid, areaid)
- {
- new data[2];
- Streamer_GetArrayData(STREAMER_TYPE_AREA, areaid, E_STREAMER_EXTRA_ID, data, 2);
- if(data[0] == STREAMER_ARRAY_TERRITORIOS)
- {
- SendClientMessage(playerid, -1, fmat_return("Você entrou no territorio: %s", TrInfo[data[1]][tr_Name]));
- GangZoneFlashForAllEx(TrInfo[data[1]][tr_GangZone], ((OrgsColorsTag[13] & ~0xFF) | 0x77), ((OrgsColorsTag[15] & ~0xFF) | 0x77));
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement