FakeMeda and TS help
How can I check if a user is lying down in the specialist.
Code:
if ( (pev(id,pev_button) & IN_LAYINGPOSITION??)) |
Re: FakeMeda and TS help
No, it's not real, and you won't find it that way.
In dod, the value is inside pev_iuser3. If he's proned (laying), it's 1 - if not, it's 0. You can try searching the forums for ts laying or ts prone or ts stocks to find if anyone has already made something to solve this. If the stock doesn't exist, you can figure out which pev value it is by using FakeMeta Tools (in the plugins forum) and test each of the iuser and fuser values. Shouldn't be too hard. |
Re: FakeMeda and TS help
So your saying do something like:
Code:
#include <amxmodx>But yeah something like that and let it print out what that is and what its doing? I'm just now starting to use FakeMeta and Engine Commands like velocity so I'm trying to learn as much and have as much fun with it as possible. |
Re: FakeMeda and TS help
Yes, that's correct. Or you can use a global 33set variable and only echo it when it changes for that client.
if pronestate != g_pronestate[id] { echo.. |
Re: FakeMeda and TS help
it only returns 0 :- (
|
Re: FakeMeda and TS help
That's because it probably doesn't use the same variable as DoD. Try different variables...iuser1 through 4...fuser1 through 4, etc.
Worst comes to worst, you can check pev_size. It is smaller when proned. |
Re: FakeMeda and TS help
Check for their animation. If they are prone, they will be in their animation.
|
Re: FakeMeda and TS help
That provides problems because there are more than one animation for that. There is "going prone," "proned," "prone crawling," "prone getting up," etc.
It's a lot simpler to check the size, which is consistent whenever they are proned. |
Re: FakeMeda and TS help
It would work for TS, since there is no going prone, crawling or getting up animations, there is only diving which is also used for laying on the ground.
|
Re: FakeMeda and TS help
but there is also rolling
|
| All times are GMT -4. The time now is 16:15. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.