View Single Post
BB.O.
Member
Join Date: Feb 2011
Old 02-28-2015 , 10:36   Re: Showing your legs
Reply With Quote #7

Quote:
Originally Posted by claudiuhks View Post
PHP Code:
    static ent
    ent 
engfunc(EngFunc_CreateNamedEntityengfunc(EngFunc_AllocString"info_target")) 
You must check if the entity is VALID by using pev_valid.
I am pretty sure you might cache 'info_target' Allocated String ID globally.
Also, add '//' comments explaining the following.

PHP Code:
if (angles[0] > 60.0)
angles[0] = 0.0
xs_vec_mul_scalar
(offset, -32.0offset)
xs_vec_mul_scalar(offset0.15offset)
angles[0] = 30.0 
At least, explain what they are/ how they help so I understand.
You didn't have to remove the Zombie Plague forwards if you wish this plug-in to work with Zombie Plague game mod as well.
Sorry for that bro.
I just made the plugin after I thought out an idea.
That's why the plugin is a little bit messy.
It's just a fast script.

I will modifidy it later

Last edited by BB.O.; 02-28-2015 at 10:36.
BB.O. is offline