Raised This Month: $ Target: $400
 0% 

Choose team death


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
unethost.com
Member
Join Date: Jun 2011
Location: Taiwan
Old 12-16-2011 , 21:32   Re: Choose team death
Reply With Quote #4

Quote:
Originally Posted by joshknifer View Post
I think this will work, but untested:

PHP Code:
#include <amxmodx>
#include <cstrike>


new CsTeams:g_p_team[33//stores current team of every connected player

public player_change_team(idCsTeams:new_team){
    if (
new_team == g_p_team[id])
         return
         
client_print (id,print_chat,"You are not allowed to change teams!"//tell them they are not allowed to switch
         
user_kill (id//slay them for switching


PHP Code:
Welcome to the AMX Mod X 1.8.1-300 Compiler.
Copyright (c1997-2006 ITB CompuPhaseAMX Mod X Team

Warning
Loose indentation on line 10
Header size
:            180 bytes
Code size
:              184 bytes
Data size
:              280 bytes
Stack
/heap size:      16384 bytesestimated maxusage=41 cells (164 bytes)
Total requirements:   17028 bytes

1 Warning
.
Done
What is the problem?
He would still have .amxx,But it is without any effect.
__________________
Long term cooperation CS:GO Plugin production staff.
Please PM me.

Last edited by unethost.com; 12-16-2011 at 21:46.
unethost.com is offline
Send a message via MSN to unethost.com Send a message via Yahoo to unethost.com
 



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 20:53.


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