Spray and user origins
Well I don't understand what is wrong:
PHP Code:
And also if I use: PHP Code:
However, PHP Code:
In this case I'm more interesated why the origin of a spray is 0.000 ? |
Re: Spray and user origins
Where did you find that event? :shock:
|
Re: Spray and user origins
http://forums.alliedmods.net/showthread.php?p=58076
Am I using it wrong ? |
Re: Spray and user origins
Sorry lags, delete this post.
|
Re: Spray and user origins
I never used numbers as events before, but event 23 is DeathMsg if i'm right.
http://wiki.amxmodx.org/Half-Life_1_Game_Events Try register_impulse instead. Are you using 'new userorigin' or 'new Float: userorigin' for get_user_origin. Because get_user_origin() will return an integer, and pev will return a Float. |
Re: Spray and user origins
Quote:
|
Re: Spray and user origins
Quote:
|
Re: Spray and user origins
23 is NOT DeathMsg
Code:
#define SVC_TEMPENTITY 23Code:
#define TE_PLAYERDECAL 112Code:
@t3hNox read_data() returns origin as an integer same for get_user_origin |
Re: Spray and user origins
Quote:
thanks for correcting me connor |
Re: Spray and user origins
Quote:
The problem with the first code is that you print it wrong, using %f (wich is used for FLOAT) instead of %d (wich is used for numbers, like your case) Just change %f to %d and that's it, leave everything else alone. |
| All times are GMT -4. The time now is 21:51. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.