Cześć.
Jak zrobić aby poniższy kod był uruchamiany na 15 sek?
set_task(15.0, "Effects(originF)");
Effects(const Float:originF3[3])
{
engfunc(EngFunc_MessageBegin, MSG_PVS, SVC_TEMPENTITY, originF3, 0)
write_byte(TE_BEAMCYLINDER)
engfunc(EngFunc_WriteCoord, originF3[0])
engfunc(EngFunc_WriteCoord, originF3[1])
engfunc(EngFunc_WriteCoord, originF3[2])
engfunc(EngFunc_WriteCoord, originF3[0])
engfunc(EngFunc_WriteCoord, originF3[1])
engfunc(EngFunc_WriteCoord, originF3[2]+100.0)
write_short(NitrogenSpr)
write_byte(0)
write_byte(0)
write_byte(4)
write_byte(60)
write_byte(0)
write_byte(41)
write_byte(138)
write_byte(255)
write_byte(200)
write_byte(0)
message_end()
}


Dodatki SourceMod













