cs_set_user_shadow

Синтаксис

stock cs_set_user_shadow(id, shadowid = 0, bool:reliable = true)

Употреба

id
Client index or 0 for all clients
shadowid
Sprite index or 0 to disable the shadow
reliable
If true, the message will be sent via the reliable
channel, otherwise it will use the unreliable one

Описание

Creates/Hides the shadow beneath players.

Забележка

This stock can't be used to set shadow to a specific player. It can
only set the shadow that a specific player sees for all other players.

Връщаща стойност

0 if "id" is non-zero and the client isn't connected,
1 otherwise