Est SetEntityColor
From EventScripts Community Encyclopedia
Syntax: est_SetEntityColor <Entity Index> <red> <green> <blue> <alpha>Note: Command parameters are described inside the
< and > characters. Optional parameters are contained within [ and ] characters.
[edit] DescriptionSets the colors of Entity Index [edit] Parameters
[edit] Exampleevent player_spawn { // The value of server_var(entindex) needs to be a Entity es_xset entindex 0 es est_getindex entindex event_var(userid) // Changes the color and alpha levels es est_SetEntityColor server_var(entindex) 16 128 150 255 } [edit] Notes
[edit] See Also |
