Raised This Month: $ Target: $400
 0% 

Prevent player from being specced


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
xPaw
Retired AMX Mod X Moderator
Join Date: Jul 2008
Old 08-26-2009 , 06:55   Prevent player from being specced
Reply With Quote #1

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
__________________
xPaw is offline
Alka
AMX Mod X Plugin Approver
Join Date: Dec 2006
Location: malloc(null)
Old 08-26-2009 , 07:08   Re: Prevent player from being specced
Reply With Quote #2

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...
__________________
Still...lovin' . Connor noob! Hello
Alka is offline
xPaw
Retired AMX Mod X Moderator
Join Date: Jul 2008
Old 08-26-2009 , 07:10   Re: Prevent player from being specced
Reply With Quote #3

Hm.. are you sure what changing pev_iuser2 will make it job ?
__________________
xPaw is offline
Alka
AMX Mod X Plugin Approver
Join Date: Dec 2006
Location: malloc(null)
Old 08-26-2009 , 07:14   Re: Prevent player from being specced
Reply With Quote #4

IIRC it worked.
__________________
Still...lovin' . Connor noob! Hello
Alka is offline
xPaw
Retired AMX Mod X Moderator
Join Date: Jul 2008
Old 08-27-2009 , 11:18   Re: Prevent player from being specced
Reply With Quote #5

Hum.. pev_iuser2 didnt worked :/ tryed to hook message and set arg to other, didnt worked either.
__________________
xPaw is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


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


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