Raised This Month: $ Target: $400
 0% 

help with this


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Hawk552
AMX Mod X Moderator
Join Date: Aug 2005
Old 07-02-2006 , 21:28   Re: help with this
Reply With Quote #1

Quote:
Originally Posted by Lotion
Yeah it is, looked in the inc. How do I use it? I'm pretty new to amxx scripting and this is going to be my first major plugin. I'm not really sure how to interpret incs. Would I use it like this?

Code:
    new float:speed = floatstr(buffer)     set_user_maxspeed(id,speed)     client_cmd(id,"cl_forwardspeed %f", speed)     client_cmd(id,"cl_sidespeed %f", speed)     client_cmd(id,"cl_backspeed %f", speed)


Yep, apparently thats how you use it.
Thanks bud, works now.
It shouldn't work, it needs to be Float, not float.
__________________
Hawk552 is offline
Send a message via AIM to Hawk552
Xanimos
Veteran Member
Join Date: Apr 2005
Location: Florida
Old 07-02-2006 , 22:32   Re: help with this
Reply With Quote #2

Don't quote code :-)
Xanimos is offline
Send a message via AIM to Xanimos Send a message via MSN to Xanimos
Hawk552
AMX Mod X Moderator
Join Date: Aug 2005
Old 07-02-2006 , 22:38   Re: help with this
Reply With Quote #3

Quote:
Originally Posted by Suicid3
Don't quote code :-)
Thanks, because I didn't see that myself and I need your advice.
__________________
Hawk552 is offline
Send a message via AIM to Hawk552
Lotion
Member
Join Date: Apr 2005
Old 07-03-2006 , 03:24   Re: help with this
Reply With Quote #4

Hmm...well it seems to be working anyway... strange?
Lotion is offline
Hawk552
AMX Mod X Moderator
Join Date: Aug 2005
Old 07-03-2006 , 09:47   Re: help with this
Reply With Quote #5

you probably made a typo or something when you posted it, if it works anyway then just save a backup and change it to Float.
__________________
Hawk552 is offline
Send a message via AIM to Hawk552
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 08:00.


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