11 [
Attribute(defvalue:
"1",
params:
"1 1000",
desc:
"Notifications can only send int's thus if you want to send a float you will need to send all values the amount of values you want after the dot. eg: 23.05 = * 100 to get 2 values after the dot. You will need to make sure this attribute is the same amount as you multiplied it with")]
12 protected int m_iNumberDivider;
16 int playerID, param2, param3, param4, param5, param6;
17 data.GetParams(playerID, param2, param3, param4, param5, param6);
19 float display2 = param2;
20 display2 = param2 / m_iNumberDivider;
22 float display3 = param3;
23 display3 = param3 / m_iNumberDivider;
25 float display4 = param4;
26 display4 = param4 / m_iNumberDivider;
28 float display5 = param5;
29 display5 = param5 / m_iNumberDivider;
31 float display6 = param6;
32 display5 = param6 / m_iNumberDivider;
35 data.GetNotificationTextEntries(playerName);
36 if (!GetPlayerName(playerID, playerName))
39 data.SetNotificationTextEntries(playerName, display2.ToString(), display3.ToString(), display4.ToString(), display5.ToString(), display6.ToString());
40 return super.GetText(
data);