native

cs_set_user_vip

Syntax

native cs_set_user_vip(index, vip = 1, model = 1, scoreboard = 1);

Description

If vip = 1, user is set to vip.
If model = 1, then user's model will be changed to VIP model or random CT model if vip = 0.
If scoreboard = 1, then scoreboard will be updated to show that user is VIP.
This shouldn't be used for players on teams other than CT.
NOTE: this is mostly useful for unsetting vips, so they can change teams and/or buy items properly.
It does not alter game play; the one being VIP at start of round will retain internal status as VIP; terrorists
can terminate him and accomplish their objective, etc.