Raised This Month: $ Target: $400
 0% 

Problem with MOVETYPE_FOLLOW's entities


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
fearAR
Veteran Member
Join Date: Oct 2010
Old 06-16-2011 , 17:32   Problem with MOVETYPE_FOLLOW's entities
Reply With Quote #1

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(entidszModelEnt[]) {    
    
ent engfunc(EngFunc_CreateNamedEntityengfunc(EngFunc_AllocString"info_target"))
    if(
ent 0) {
        
set_pev(entpev_movetypeMOVETYPE_FOLLOW)
        
set_pev(entpev_aimentid)
        
set_pev(entpev_rendermodekRenderNormal)
        
engfunc(EngFunc_SetModelentszModelEnt)
    }    

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
fearAR is offline
Send a message via MSN to fearAR
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 23:24.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode