Ok...heres the code I have so far *Thanks to Suicide for getting me started in the right direction*
Code:
#include <amxmodx>
#include <engine>
#include <fun>
#define PLUGIN "No Block"
#define VERSION "0.1"
#define AUTHOR "AtomikFusion"
public plugin_init()
{
register_plugin(PLUGIN, VERSION, AUTHOR)
}
public pfn_touch(ptr , ptd) //ptr = the toucher and ptd = the touched
{
new szToucher[32] , szTouched[32]
get_user_name(ptr , szToucher , 31)
get_user_name(ptd , szTouched , 31)
if(is_user_alive(ptr) && is_user_alive(ptd))//You use this so you know that a player has touched a player.
{
if( get_user_team(ptr) == get_user_team(ptd) ) //You use this to know that the toucher/touched are on the same team from now on.
{
//Use whatever you would like to do to the players here.
client_print( 0 , print_chat , "** %s blocked %s, %s has NO-CLIP to move" , szToucher , szTouched, szTouched)
if(get_user_noclip(ptd) == 0)
{
set_user_noclip(ptd, 1)
}
else if(get_user_noclip(ptd) == 1)
{
client_print(0, print_chat, "** %s Has CLIP again", szTouched)
set_user_noclip(ptd)
}
}
}
}
It works for the part of setting no clip to the players when they touch each other. Here are my problems
1. It sets no clip to both ptr and ptd
2. Once no clip is set, it does not reset it back(you have to run into ur teammate a couple more times)
3. I cant seem to figure out how to stop the touch call when i try to stand on top of my teammates.
So far it works and compiles with no errors.

The touch call only gets activated when you touch ur own teammates. Can anyone help please? Also...if anyone can point me in the direction of how to change hosties models in cz i would appreciate it. I've looked at hostitron but it doesnt work with cz. Thanks