1 REGISTER_MUTATOR(itemstime, true);
4 void IT_Write(entity e, int i, float f) {
5 if (!IS_REAL_CLIENT(e)) return;
7 WriteByte(MSG_ONE, SVC_TEMPENTITY);
8 WriteMutator(MSG_ONE, itemstime);
10 WriteFloat(MSG_ONE, f);
15 MUTATOR_HOOKFUNCTION(itemstime, CSQC_Parse_TempEntity) {
16 if (MUTATOR_RETURNVALUE) return false;
17 if (!ReadMutatorEquals(mutator_argv_int_0, itemstime)) return false;
19 float f = ReadFloat();
20 ItemsTime_time[i] = f;