10 [
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")]
11 protected int m_iNumberDivider;
16 data.GetParams(playerID, param2);
19 data.GetNotificationTextEntries(playerName);
20 if (!GetPlayerName(playerID, playerName))
24 distance = param2 / m_iNumberDivider;
39 location = nearestLocation.GetDisplayName();
43 data.SetNotificationTextEntries(playerName,
distance.ToString(), location);
44 return super.GetText(
data);