02.08.2013, 00:07
Против клео есть решение, только нужен плагин streamer.
Глобально:
В OnGameInit:
Взял радиус 30.0, замени на свой..
В OnPlayerEnterDynamicArea
В OnPlayerLeaveDynamicArea.
Глобально:
Code:
new ZoneUser;
Code:
while(ZoneUser < MAX_PLAYERS) { ZoneUser = CreateDynamicCircle(0.0, 0.0, 30.0, -1, -1, -1); AttachDynamicAreaToPlayer(ZoneUser, ZoneUser); ZoneUser++; }
В OnPlayerEnterDynamicArea
Code:
new glayerid = areaid; if(IsPlayerConnected(gplayerid) && playerid != gplayerid) { ShowPlayerNameTagForPlayer(playerid, gplayerid, true); ShowPlayerNameTagForPlayer(gplayerid, playerid, true); }
Code:
new gplayerid = areaid; if(IsPlayerConnected(gplayerid) && playerid != gplayerid) { ShowPlayerNameTagForPlayer(playerid, gplayerid, false); ShowPlayerNameTagForPlayer(gplayerid, playerid, false); }