Raised This Month: $ Target: $400
 0% 

strtonum func replacement


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Dark :: Cypher
New Member
Join Date: May 2004
Location: Sunnyvale, CA.
Old 05-09-2004 , 14:49   strtonum func replacement
Reply With Quote #1

This is not my code. I am very new to AMXX scripting and so far I am just trying to get my AMX scripts to run on my new AMXX server. Eventually I would figure this out for myself, but I'm hoping some help from the forums here will help speed up the process because I have a lot of pluggins to convert over to AMXX.
I apologize for posting someone elses code, but I was unable to contact the author via his included information.

I need to replace the function strtonum, however I don't know the relative function in amxx. I found a num_to_word, but no word_to_num. If someone could help me out I would really appreciate it. I plan to add the capability to save the rating data over a long period of time for statistical analysis, so if anyone has any suggestions on that as well, it would be a welcome addition.

Also, I don't want everyone to think I'm some 13 year old kid looking for handouts and free outsourcing. I'm a C++ programmer and I've already debugged a good number of AMX scripts to AMXX. I just have a massive amount of work to do and I need some support. I fully intend to contribute to this community when I get my feet on the ground.
Thanks guys.
Attached Files
File Type: sma Get Plugin or Get Source (map_rate.sma - 1126 views - 3.9 KB)
Dark :: Cypher is offline
Send a message via AIM to Dark :: Cypher Send a message via MSN to Dark :: Cypher Send a message via Yahoo to Dark :: Cypher
kingpin
Veteran Member
Join Date: Apr 2004
Location: kpsforum.com
Old 05-09-2004 , 14:52  
Reply With Quote #2

Code:
strtonum ------------> str_to_num   and vice versa for numtostr --------> num_to_str
Attached Files
File Type: sma Get Plugin or Get Source (map_rate.sma - 958 views - 3.9 KB)
__________________
kingpin is offline
Send a message via ICQ to kingpin Send a message via AIM to kingpin Send a message via MSN to kingpin Send a message via Yahoo to kingpin Send a message via Skype™ to kingpin
Dark :: Cypher
New Member
Join Date: May 2004
Location: Sunnyvale, CA.
Old 05-09-2004 , 14:54  
Reply With Quote #3

Wow, that was fast. Thanks.
Dark :: Cypher is offline
Send a message via AIM to Dark :: Cypher Send a message via MSN to Dark :: Cypher Send a message via Yahoo to Dark :: Cypher
kingpin
Veteran Member
Join Date: Apr 2004
Location: kpsforum.com
Old 05-09-2004 , 14:56  
Reply With Quote #4

np
__________________
kingpin is offline
Send a message via ICQ to kingpin Send a message via AIM to kingpin Send a message via MSN to kingpin Send a message via Yahoo to kingpin Send a message via Skype™ to kingpin
IceMouse[WrG]
Senior Member
Join Date: Mar 2004
Old 05-09-2004 , 20:08   Re: strtonum func replacement
Reply With Quote #5

Quote:
Originally Posted by Dark :: Cypher
I don't want everyone to think I'm some 13 year old kid
Not many people will take too kindly to you with that mentality

I also don't understand the request... Do you need an alteration of the str_to_num?
IceMouse[WrG] is offline
Send a message via AIM to IceMouse[WrG] Send a message via MSN to IceMouse[WrG] Send a message via Yahoo to IceMouse[WrG]
kingpin
Veteran Member
Join Date: Apr 2004
Location: kpsforum.com
Old 05-09-2004 , 22:41  
Reply With Quote #6

he just needed the replacement of strtonum.
__________________
kingpin is offline
Send a message via ICQ to kingpin Send a message via AIM to kingpin Send a message via MSN to kingpin Send a message via Yahoo to kingpin Send a message via Skype™ to kingpin
Reply


Thread Tools
Display Modes

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 05:28.


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