Raised This Month: $ Target: $400
 0% 

Join spec, kill player


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
11922911
Senior Member
Join Date: Dec 2011
Location: Yuen Long Country
Old 01-06-2014 , 22:33   Re: Join spec, kill player
Reply With Quote #2

Quote:
Originally Posted by Qvantry View Post
Hey, when I want the player to join spectator using this:

PHP Code:
public CmdSpectator(iPlayer)
{
    
cs_set_user_team(iPlayerCS_TEAM_SPECTATOR);
    
ColorChat(iPlayerGREY"^4%s You joined ^4Spectator^1!"TAG)

But I also want to kill the player that joins spec, how do I kill him?
Quote:
/* Kills player. When flag is set to 1 then death won't decrase frags. */
native user_kill(index,flag=0);
__________________
youtube:
@holla16

Last edited by 11922911; 01-06-2014 at 22:33.
11922911 is offline
 



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 10:09.


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