15.03.2016, 19:45
hi guys i have this borders and numbers when i dissable /turfs how can i make them disappear? , say if you guys need something from GM
http://imgur.com/zlZrfpn
http://imgur.com/zlZrfpn
Код HTML:
if(strcmp(cmd, "/turfs", true) == 0) { if(IsPlayerConnected(playerid)) { if(OnDuty[playerid]==0) { OnDuty[playerid]=1; for(idx = 1;idx< 51; idx++) { if(TeritoriuData[idx][tOwned] == 11) { GangZoneShowForPlayer(playerid, turf[idx], GC_GROVE); } else if(TeritoriuData[idx][tOwned] == 12) { GangZoneShowForPlayer(playerid, turf[idx], GC_BALLAS); } else if(TeritoriuData[idx][tOwned] == 13) { GangZoneShowForPlayer(playerid, turf[idx], GC_VAGOS); } else if(TeritoriuData[idx][tOwned] == 14) { GangZoneShowForPlayer(playerid, turf[idx], GC_AZTECAS); } else if(TeritoriuData[idx][tOwned] == 15) { GangZoneShowForPlayer(playerid, turf[idx], GC_RUSSIAN); } else if(TeritoriuData[idx][tOwned] == 16) { GangZoneShowForPlayer(playerid, turf[idx], GC_RIFA); } //GangZoneFlashForPlayer(playerid, warsex, 0xFF000099); } SendClientMessage(playerid, COLOR_WHITE, "{5F70E3}Teritorii ON."); }else{ OnDuty[playerid]=0; for(idx = 1;idx< 51; idx++) { if(TeritoriuData[idx][tOwned] == 11) { GangZoneHideForPlayer(playerid, turf[idx]); } else if(TeritoriuData[idx][tOwned] == 12) { GangZoneHideForPlayer(playerid, turf[idx]); } else if(TeritoriuData[idx][tOwned] == 13) { GangZoneHideForPlayer(playerid, turf[idx]); } else if(TeritoriuData[idx][tOwned] == 14) { GangZoneHideForPlayer(playerid, turf[idx]); } else if(TeritoriuData[idx][tOwned] == 15) { GangZoneHideForPlayer(playerid, turf[idx]); } else if(TeritoriuData[idx][tOwned] == 16) { GangZoneHideForPlayer(playerid, turf[idx]); } } SendClientMessage(playerid, COLOR_WHITE, "{5F70E3}Teritorii OFF."); } } return 1; }