Raised This Month: $ Target: $400
 0% 

[Help] Player Trail


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
mrhellish
Junior Member
Join Date: Jun 2010
Old 11-15-2011 , 16:09   Re: [Help] Player Trail
Reply With Quote #2

Try with PreThink, if player's speed is 0, in next move (speed !=0) set trail...
edit: sth like that
PHP Code:
public PreThink(id) {
    
    static 
Float:vel[3], bool:settrail[33];
    
    
pev(idpev_velocityvel);
    if (
vel[0] == 0.0 && vel[0] == 0.0 && vel[0] == 0.0settrail[id] = true;
    else if (
settrail[id]) {
        
        
//message_begin(......
        
settrail[id] = false;
    }


Last edited by mrhellish; 11-15-2011 at 16:16.
mrhellish is offline
 



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 08:32.


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