stock te_create_dynamic_light(position[3], radius = 10, r = 255, g = 255, b = 255, life = 10, decay = 10, receiver = 0, bool:reliable = true)
position | Position of the light |
radius | Light radius (0 - 255) |
r | Red color amount (0 - 255) |
g | Green color amount (0 - 255) |
b | Blue color amount (0 - 255) |
life | The length of time the light shall remain (0 - 255) |
decay | Light decay rate (0 - 255) |
receiver | Client index that will be able to see the light or 0 for all clients |
reliable | If true, the message will be sent via the reliable channel, otherwise it will use the unreliable one |
Creates a dynamic light with a world effect.
Video preview of this and all other te_ stocks can be found here: https://youtu.be/szW-bSMPuyQ?t=5m47s
0 if "receiver" is non-zero and the client isn't connected, 1 otherwise
This documentation was automatically generated using pawn-docgen made by xPaw for AlliedMods.