From 6733ef9a791a5935b3a42b9f3578610cf8a6e854 Mon Sep 17 00:00:00 2001 From: Scott Ehlert Date: Tue, 2 May 2006 21:48:26 +0000 Subject: [PATCH] Two extra params in cs_set_user_vip for determining whether or not model and scoreboard are updated at28699 --- plugins/include/cstrike.inc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/plugins/include/cstrike.inc b/plugins/include/cstrike.inc index c777cbcf..42bec38b 100755 --- a/plugins/include/cstrike.inc +++ b/plugins/include/cstrike.inc @@ -147,13 +147,14 @@ native cs_set_user_team(index, {CsTeams,_}:team, {CsInternalModel,_}:model = CS_ native cs_get_user_vip(index); /* If vip = 1, user is set to vip. - * Model will be changed to VIP model if 1, else it will be changed to a random CT model. + * 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. */ -native cs_set_user_vip(index, vip = 1); + native cs_set_user_vip(index, vip = 1, model = 1, scoreboard = 1); /* Returns 1 of specified user has tk:ed (team killed). */