man you use the fuctions cs_get_user_team and others without include the true inc files..
here you need the <cstrike> && <fun>...
i try to fix your code i hope to work..
PHP Code:
#include <amxmodx>
#include <amxmisc>
#include <hamsandwich>
#include <cstrike>
#include <fun>
public plugin_init() {
register_plugin("JB weapon strip", "-", "VMANcentral.com");
RegisterHam(Ham_Spawn, "player", "fwHamPlayerSpawnPost", 1);
}
public fwHamPlayerSpawnPost(id)
{
if(cs_get_user_team(id) == CS_TEAM_T )
{
strip_user_weapons(id)
give_item(id, "weapon_knife")
}
}