Raised This Month: $ Target: $400
 0% 

User aiming?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
danielkza
AMX Mod X Plugin Approver
Join Date: May 2007
Location: São Paulo - Brasil
Old 09-03-2008 , 12:46   Re: User aiming?
Reply With Quote #8

Quote:
Originally Posted by Emp` View Post
because "fm aim origin" returns a Float vector. if you were to use it, you would need to do:
Code:
message_begin(MSG_PVS, SVC_TEMPENTITY, origin);
write_byte(TE_IMPLOSION);
write_coord( floatround(origin[0]) );
write_coord( floatround(origin[1]) );
write_coord( floatround(origin[2]) );
write_byte(64);  // radius
write_byte(100); // count
write_byte(6);  // life
message_end();
Or better,use engfunc(EngFunc_WriteCoord).
danielkza 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 03:04.


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