Code:
#include <amxmodx>
#include <hamsandwich>
#include <engine>
public plugin_init()
{
RegisterHam(Ham_Spawn, "player", "CBasePlayer_Spawn_Post", 1);
}
public CBasePlayer_Spawn_Post(pPlayer)
{
if (get_user_team(pPlayer) == 1)
{
entity_set_origin(pPlayer, Float:{-1001171311, -1010950858, -1151729920});
entity_set_vector(pPlayer, EV_VEC_angles, Float:{-1073914880, -1063335424, -1064498944});
}
}
__________________