AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   CS_DONTCHANGE doesnt work (https://forums.alliedmods.net/showthread.php?t=60780)

kp_uparrow 09-12-2007 16:45

CS_DONTCHANGE doesnt work
 
CS_DONTCHANGE = 0,
CS_CT_URBAN = 1,
CS_T_TERROR = 2,
CS_T_LEET = 3,
CS_T_ARCTIC = 4,
CS_CT_GSG9 = 5,
CS_CT_GIGN = 6,
CS_CT_SAS = 7,
CS_T_GUERILLA = 8,
CS_CT_VIP = 9,

cs_set_user_team(id,CS_TEAM_T,CS_DONTCHANGE)
cs_set_user_team(id,CS_TEAM_CT,CS_DONTCHANGE)

doesnt work, the model changes, iv tried 0 instead of CS_DONTCHANGE

even without argument its not suppose to change model!

ConnorMcLeod 09-12-2007 16:56

Re: CS_DONTCHANGE doesnt work
 
Are you trying to put a T in CT tem and you want that he still have a T model ?

kp_uparrow 09-12-2007 17:35

Re: CS_DONTCHANGE doesnt work
 
yes

ConnorMcLeod 09-12-2007 19:11

Re: CS_DONTCHANGE doesnt work
 
I've ported this to amxx.
It allow an admin to teleport a whole team to the other team spawn.
Untested yet.

kp_uparrow 09-14-2007 20:13

Re: CS_DONTCHANGE doesnt work
 
how about change pdata and teaminfo only, that way the model wont change?


All times are GMT -4. The time now is 07:57.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.