AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Prevent player from being specced (https://forums.alliedmods.net/showthread.php?t=101693)

xPaw 08-26-2009 06:55

Prevent player from being specced
 
Ok i have an bool (g_bSpec[ id ]), and if its true, i want to make what that 'id' wont be possible to be specced, um act like hes dead

Alka 08-26-2009 07:08

Re: Prevent player from being specced
 
I remember i maked something like this a while ago, try to get a random player id(from specified team) and set it in pev_iuser2, or just trigger player +attack to change to next available player...

xPaw 08-26-2009 07:10

Re: Prevent player from being specced
 
Hm.. are you sure what changing pev_iuser2 will make it job ?

Alka 08-26-2009 07:14

Re: Prevent player from being specced
 
IIRC it worked.

xPaw 08-27-2009 11:18

Re: Prevent player from being specced
 
Hum.. pev_iuser2 didnt worked :/ tryed to hook message and set arg to other, didnt worked either.


All times are GMT -4. The time now is 15:04.

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