}
float plat_send(entity to, float sf)
-{
+{SELFPARAM();
WriteByte(MSG_ENTITY, ENT_CLIENT_PLAT);
WriteByte(MSG_ENTITY, sf);
void plat_link()
{
- Net_LinkEntity(self, 0, false, plat_send);
+ //Net_LinkEntity(self, 0, false, plat_send);
}
void spawnfunc_func_plat()
-{
+{SELFPARAM();
if (self.sounds == 0)
self.sounds = 2;
}
void ent_plat()
-{
+{SELFPARAM();
float sf = ReadByte();
if(sf & SF_TRIGGER_INIT)
self.spawnflags = ReadByte();
self.model = strzone(ReadString());
- setmodel(self, self.model);
+ _setmodel(self, self.model);
trigger_common_read(true);