Well, I come here, because I have made a plugin where all players when join sv can change their appearences.
So, I set a model for player, without head, and then I create 4 entities which follow player, with this part:
PHP Code:
CreateEntity(ent, id, szModelEnt[]) {
ent = engfunc(EngFunc_CreateNamedEntity, engfunc(EngFunc_AllocString, "info_target"))
if(ent > 0) {
set_pev(ent, pev_movetype, MOVETYPE_FOLLOW)
set_pev(ent, pev_aiment, id)
set_pev(ent, pev_rendermode, kRenderNormal)
engfunc(EngFunc_SetModel, ent, szModelEnt)
}
}
but when I set him that entities it works, but Player looks like breathing fast, so his sequence is working fast, but It happens only when I set this entities and I dont know why it happens...
Can someone help me? Thanks