stock te_create_entity_light(entity, position[3] = {0, 0, 0}, radius = 50, r = 255, g = 255, b = 255, life = 10, decay = 10, receiver = 0, bool:reliable = true)
entity | Entity or client to apply the light on |
position | Position of the light |
radius | Light radius |
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 |
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 point entity light with no world effect.
Video preview of this and all other te_ stocks can be found here: https://youtu.be/szW-bSMPuyQ?t=6m7s
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.