Utf8 convert
This commit is contained in:
+11
-11
@@ -23,14 +23,14 @@ class ControllerZones {
|
||||
vector pos;
|
||||
float radius;
|
||||
int type = 0;
|
||||
// only RAD param ↓↓↓
|
||||
id = id + 1; // Територия янтаратя 200 метров RAD
|
||||
// only RAD param ↓↓↓
|
||||
id = id + 1; // Територия янтаратя 200 метров RAD
|
||||
pos = "2405 0 6541";
|
||||
radius = 200.0;
|
||||
AddZone(id, pos, radius, ZoneType.RAD);
|
||||
|
||||
// only PSI param ↓↓↓
|
||||
id = id + 1; // Територия янтаратя 200 метров PSI
|
||||
// only PSI param ↓↓↓
|
||||
id = id + 1; // Територия янтаратя 200 метров PSI
|
||||
pos = "2405 0 6541";
|
||||
radius = 200.0;
|
||||
AddZone(id, pos, radius, ZoneType.PSI);
|
||||
@@ -69,7 +69,7 @@ class ControllerZones {
|
||||
|
||||
|
||||
|
||||
attachment = player.FindAttachmentBySlotName("Mask"); // Перечеь защиты от радиации
|
||||
attachment = player.FindAttachmentBySlotName("Mask"); // Перечеь защиты от радиации
|
||||
if ( attachment && attachment.IsItemBase() )
|
||||
{
|
||||
item = Class.Cast(attachment);
|
||||
@@ -94,7 +94,7 @@ class ControllerZones {
|
||||
{
|
||||
radiationcnt = ((ga_zones.Get(j).radius - (vector.Distance(player_position, ga_zones.Get(j).pos)) ) * rpu) + Math.RandomInt(1,10000)*0.00001;
|
||||
if ( DayZRP_Static.IsItemInInventory( player, "DayZRP_Doz" ) ){
|
||||
Param1<string> m_MessageParamRD = new Param1<string>( "Дозиметр : " + radiationcnt + "м3в" );
|
||||
Param1<string> m_MessageParamRD = new Param1<string>( "Дозиметр : " + radiationcnt + "м3в" );
|
||||
GetGame().RPCSingleParam(player, ERPCs.RPC_USER_ACTION_MESSAGE, m_MessageParamRD, true, player.GetIdentity());
|
||||
}
|
||||
}
|
||||
@@ -105,8 +105,8 @@ class ControllerZones {
|
||||
player.SetHealth("GlobalHealth", "Health", damage_player - (damage_zone - (damage_zone * biosafe)));
|
||||
if (biosafe==0)
|
||||
{
|
||||
player.GetSymptomManager().QueueUpPrimarySymptom(SymptomIDs.SYMPTOM_COUGH); //Кашель
|
||||
Param1<string> m_MessageParam = new Param1<string>("Воздействие Радиации! Одень противогаз!");
|
||||
player.GetSymptomManager().QueueUpPrimarySymptom(SymptomIDs.SYMPTOM_COUGH); //Кашель
|
||||
Param1<string> m_MessageParam = new Param1<string>("Воздействие Радиации! Одень противогаз!");
|
||||
GetGame().RPCSingleParam(player, ERPCs.RPC_USER_ACTION_MESSAGE, m_MessageParam, true, player.GetIdentity());
|
||||
}
|
||||
}
|
||||
@@ -114,7 +114,7 @@ class ControllerZones {
|
||||
}
|
||||
else if((vector.Distance(player_position, zone.pos)) < zone.radius && zone.type == ZoneType.PSI) {
|
||||
|
||||
attachment = player.FindAttachmentBySlotName("Mask");// Перечеь защиты от PSI
|
||||
attachment = player.FindAttachmentBySlotName("Mask");// Перечеь защиты от PSI
|
||||
if ( attachment && attachment.IsItemBase() ) {
|
||||
item = Class.Cast(attachment);
|
||||
className = item.GetType();
|
||||
@@ -141,9 +141,9 @@ class ControllerZones {
|
||||
{
|
||||
if (psisafe<0.5)
|
||||
{
|
||||
player.GetSymptomManager().QueueUpPrimarySymptom(SymptomIDs.SYMPTOM_VOMIT); // рвота // SNEEZE - чихать
|
||||
player.GetSymptomManager().QueueUpPrimarySymptom(SymptomIDs.SYMPTOM_VOMIT); // рвота // SNEEZE - чихать
|
||||
}
|
||||
Param1<string> m_MessageParamPSI = new Param1<string>("Воздействие PSI! Нужно бежать!");
|
||||
Param1<string> m_MessageParamPSI = new Param1<string>("Воздействие PSI! Нужно бежать!");
|
||||
GetGame().RPCSingleParam(player, ERPCs.RPC_USER_ACTION_MESSAGE, m_MessageParamPSI, true, player.GetIdentity());
|
||||
}
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user