Raised This Month: $ Target: $400
 0% 

Code, that does tray after player


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
danonix
Senior Member
Join Date: Dec 2012
Old 05-08-2013 , 12:02   Re: Code, that does tray after player
Reply With Quote #7

Could you tell me what im doing wrong? Thanks you very much for your help, I have just got no idea what's wrong
Code:
new sprite
new const szSprite[] = "sprites/laserbeam.spr" 
....
precache_model(szSprite)
....
Util_TE_BEAMFOLLOW(player, id, sprite, 20, 5, 0, 255, 0, 100)
....
public Util_TE_BEAMFOLLOW(id, entity, sprite, life, width, red, green, blue, brightness) 
{ 
    message_begin(id ? MSG_ONE : MSG_ALL, SVC_TEMPENTITY, _, id); 
    write_byte(TE_BEAMFOLLOW); 
    write_short(entity); 
    write_short(szSprite); 
    write_byte(life);
    write_byte(width);
    write_byte(red); 
    write_byte(green); 
    write_byte(blue); 
    write_byte(brightness); 
    message_end(); 
}
danonix 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 10:50.


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