Raised This Month: $ Target: $400
 0% 

Join spec, kill player


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Qvantry
Junior Member
Join Date: Aug 2012
Old 01-07-2014 , 11:36   Re: Join spec, kill player
Reply With Quote #5

Quote:
Originally Posted by 11922911 View Post
Try:
PHP Code:
public CmdSpectator(iPlayer)
{
    
user_kill(iPlayer0);
    
cs_set_user_team(iPlayerCS_TEAM_SPECTATOR);
    
ColorChat(iPlayerGREY"^4%s You joined ^4Spectator^1!"TAG);

Use user_kill(iPlayer, 1) If you don't want to lose frags.
Thanks, works perfectly
Qvantry 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