Czy ktos wie jak trzeba to przerobic? ;d
public swiatlo(ent)
{
static Float:float_origin[3];
entity_get_vector(ent, EV_VEC_origin, float_origin);
static origin[3];
FVecIVec(float_origin, origin);
message_begin(MSG_PVS, SVC_TEMPENTITY, origin, 0);
write_byte(TE_DLIGHT);
write_coord(origin[0]);
write_coord(origin[1]);
write_coord(origin[2]);
write_byte(40);
write_byte(255);
write_byte(0);
write_byte(0);
write_byte(10);
write_byte(10);
message_end();
entity_set_float(ent, EV_FL_nextthink, get_gametime() + 5.01);
}
Z gory dziekuje i pozdrawiam