AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Complete list of changes to scripting issues (https://forums.alliedmods.net/showthread.php?t=543)

]FUSION[ Gray Death 03-27-2004 05:06

Complete list of changes to scripting issues
 
Hi,

I'm looking for a guide, where all the changes relevant to scripting are described. Like

strtonum got str_to_num
get_user_money became cs_get_user_money
set_user_health now needs include fun

...

all things I just found out this morning by trying, single postings in the froum or other scattered infos. Is there maybe a complete list I just missed?

BigBaller 03-27-2004 05:59

That would be nice, maybe a stickied thread of natives and such located in the base include files.

all I would suggest is looking at the inlude files in a text editor.

I dont know all the big changes off hand.

xeroblood 03-27-2004 08:43

the changelog will have most if not all of the changes listed!! :D

]FUSION[ Gray Death 03-27-2004 08:55

Yip, its the keysource. But if I'm not wrong e.g str_to_num is not listed.

BigBaller 03-27-2004 09:34

yea str_to_num was not documented.

xeroblood 03-27-2004 10:17

hrmm, just checked changelog, and you're right, it isn't listed.. but it prolly wasn't because of backward compatibility, so you really don't need to..

from string.inc:
Code:
/* Converts number to string. */ native num_to_str(num,string[],len); /* Returns converted string to number. */ native str_to_num(const string[]);

the function names were changed, but backwards compatibility was added for it in amxmod.inc:
Code:
stock numtostr(num,string[],len)   return num_to_str(num,string,len) stock strtonum(const string[])   return str_to_num(string)

But as for a general list of all Natives/Forwards/Stocks that would defintely be nice!! (I think it's coming with 0.2 version)


All times are GMT -4. The time now is 15:51.

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