Raised This Month: $ Target: $400
 0% 

set_user_footsteps not work


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
mati009988
Member
Join Date: Jul 2009
Old 06-25-2010 , 13:00   set_user_footsteps not work
Reply With Quote #1

Hi!
When i use set_user_maxspeed(id, 1.7);
set_user_footsteps(id, 1) with this speed not work.
How to fix it?
mati009988 is offline
JaGareN
Senior Member
Join Date: Mar 2009
Old 06-25-2010 , 13:34   Re: set_user_footsteps not work
Reply With Quote #2

PHP Code:
set_user_footsteps(id1//can hear player steps
 
set_user_footsteps(id0//cant hear player steps 
I dont understand what you really want to do.
JaGareN is offline
GXLZPGX
Veteran Member
Join Date: Sep 2009
Old 06-25-2010 , 14:10   Re: set_user_footsteps not work
Reply With Quote #3

Quote:
Originally Posted by JaGareN View Post
PHP Code:
set_user_footsteps(id1//can hear player steps
 
set_user_footsteps(id0//cant hear player steps 
I dont understand what you really want to do.
Other way around.

From the fun.inc file:

PHP Code:
/* Gives player silent footsteps.
* if set = 0 it will return footsteps to normal */
native set_user_footsteps(idset 1); 
__________________
Currently accepting payment US DOLLARS ONLY for custom plugins, contact me through PM.
GXLZPGX is offline
JaGareN
Senior Member
Join Date: Mar 2009
Old 06-25-2010 , 19:18   Re: set_user_footsteps not work
Reply With Quote #4

Quote:
Originally Posted by GXLZPGX View Post
Other way around.

From the fun.inc file:

PHP Code:
/* Gives player silent footsteps.
* if set = 0 it will return footsteps to normal */
native set_user_footsteps(idset 1); 
it works fine for me one i use set_user_footsteps(id, 1);
JaGareN is offline
grimvh2
Veteran Member
Join Date: Nov 2007
Location: Fishdot Nation
Old 06-25-2010 , 19:30   Re: set_user_footsteps not work
Reply With Quote #5

Quote:
Originally Posted by JaGareN View Post
PHP Code:
set_user_footsteps(id1//can hear player steps
 
set_user_footsteps(id0//cant hear player steps 
I dont understand what you really want to do.
Quote:
Originally Posted by GXLZPGX View Post
Other way around.

From the fun.inc file:

PHP Code:
/* Gives player silent footsteps.
* if set = 0 it will return footsteps to normal */
native set_user_footsteps(idset 1); 
Im reading this at the documentation :

set_user_footsteps - Gives player silent footsteps if set is 1.

Anyway, I have had problems with this to. Try both. If both does'nt work theres something wrong with ur code. (then post the code)
__________________
I am out of order!
grimvh2 is offline
mati009988
Member
Join Date: Jul 2009
Old 06-25-2010 , 13:42   Re: set_user_footsteps not work
Reply With Quote #6

I inserted the xp mod class in which character has to be fast and you can not hear the steps.
When i set maxspeed to 1.7 command set_user_footsteps(id, 1) not work.
I still hear the steps
mati009988 is offline
Alka
AMX Mod X Plugin Approver
Join Date: Dec 2006
Location: malloc(null)
Old 06-25-2010 , 13:44   Re: set_user_footsteps not work
Reply With Quote #7

Use set_user_footsteps(id, 0); ?
__________________
Still...lovin' . Connor noob! Hello
Alka is offline
mati009988
Member
Join Date: Jul 2009
Old 06-25-2010 , 14:17   Re: set_user_footsteps not work
Reply With Quote #8

I tried 1 and 0 - does not work but I found [INC] Fakemeta Utilities ready to be the AMXX default and it worked.
mati009988 is offline
JaGareN
Senior Member
Join Date: Mar 2009
Old 06-25-2010 , 19:19   Re: set_user_footsteps not work
Reply With Quote #9

Quote:
Originally Posted by mati009988 View Post
I tried 1 and 0 - does not work but I found [INC] Fakemeta Utilities ready to be the AMXX default and it worked.
Are you sure that you had #include <fun> at the top of your plugin?
JaGareN is offline
Kreation
Veteran Member
Join Date: Jan 2010
Location: Illinois
Old 06-25-2010 , 20:14   Re: set_user_footsteps not work
Reply With Quote #10

Quote:
Originally Posted by mati009988 View Post
I tried 1 and 0 - does not work but I found [INC] Fakemeta Utilities ready to be the AMXX default and it worked.
__________________
Hi.
Kreation is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 14:47.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode