Thread
:
Wallbang Training
View Single Post
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
12-07-2010 , 06:41 Re: Wallbang Training
#
4
Another suggestion would be :
- Don't create vars into a loop, and I would use static for all the arrays since it's a function called very often.
-
write_coord(floatround
( : working with float and to avoid to use
floatround
, use directly :
engfunc( EngFunc_WriteCoord,
- Use a swtich for
cs_get_user_team
- You use GetBonePosition to get the head position, but I guess it would be fine if you calculate from the player's origin. You have just to add some z value.
__________________
Last edited by Arkshine; 12-07-2010 at
06:47
.
Arkshine
View Public Profile
Send a private message to Arkshine
Find More Posts by Arkshine