message_begin(MSG_ONE, g_msgFade, {0,0,0}, target); // use the magic #1 for "one client"
write_short(1<<5); // fade lasts this long duration
write_short(1<<5); // fade lasts this long hold time
write_short(1<<5); // fade type
write_byte(0); // fade red
write_byte(0); // fade green
write_byte(0); // fade blue
write_byte(255); // fade alpha
message_end();Po pierwsze skąd bez tych dopisków mam wiedzieć za co odpowiada poszczególne write_short i write_byte.Po drugie 1<<5 i inne? Nie da się jakoś 5 sekund ustawić


Dodatki SourceMod



Temat jest zamknięty









