need small fix
Im trying to make simple fake death and vengeance plugin
I need help with spawn behind killers back. can i use specified set_user_origin like origin[1]-20 . [2]+30. [3]+40 ??? PHP Code:
|
Re: need small fix
Yes, but
Code:
origin[1]-20 . [2]+30. [3]+40 ???Code:
origin[0] -= 20.0; |
Re: need small fix
I know I said it just for example.
so how to set_origin using these 3 coords. |
Re: need small fix
Code:
entity_get_vector(id, EV_VEC_origin, origin)Code:
entity_set_vector(id, EV_VEC_origin, origin) |
Re: need small fix
Fakemeta version:
PHP Code:
|
Re: need small fix
|
Re: need small fix
dont understand this should work> but
PHP Code:
id = iAttacker , traget = iVictim but its not working. |
Re: need small fix
What is not working? My function or your part of code?
Also id is player who will be teleported behind target, so id = iVictim, target = iAttacker. |
Re: need small fix
oh, yes , fantastic, it works
thank you silwester |
| All times are GMT -4. The time now is 20:34. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.