Quote:
Originally Posted by joshknifer
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(id, CsTeams: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 (c) 1997-2006 ITB CompuPhase, AMX 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 bytes; estimated max. usage=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.