Siemka, mam pytanie jak można wydłużyć czas trwania światła "TE_DLIGHT" w kodzie ustawiłem "life" na 10 a i tak światło znika po 2,3 sec ![]()
public test(id){
static origin[3]
get_user_origin(id, origin)
message_begin(MSG_PVS, SVC_TEMPENTITY, origin)
write_byte(TE_DLIGHT);
write_coord(origin[0]) // x
write_coord(origin[1]) // y
write_coord(origin[2]) // z
write_byte(floatround(250/5.0)); // radius
write_byte(255); // r
write_byte(255); // g
write_byte(0); // b
write_byte(10); // life
write_byte(7); // decay rate
message_end();
}


Dodatki SourceMod




Temat jest zamknięty








