a TE_DLIGHT cannot go longer than 1 second??
public fl(ent)
{
// check if entity isn't valid
if(!pev_valid(ent))
return;
// new variable for origin and get origin of entity
static Float

rigin[3];
pev(ent,pev_origin,origin);
// send the light flash
message_begin(MSG_BROADCAST,SVC_TEMPENTITY);
write_byte(27); // TE_DLIGHT
write_coord(floatround(origin[0])); // x
write_coord(floatround(origin[1])); // y
write_coord(floatround(origin[2])); // z
write_byte(radius); // radius
write_byte(255); // r
write_byte(255); // g
write_byte(255); // b
write_byte(600); // life <<<<<<<<
write_byte(60); // decay rate
message_end();
remove_entity(ent)
return
}
life is 600 = 60 seconds and it only lasts 1 second
__________________