diff --git a/plugins/include/string.inc b/plugins/include/string.inc index 985fb8d3..11cdd428 100755 --- a/plugins/include/string.inc +++ b/plugins/include/string.inc @@ -37,9 +37,15 @@ native format_args(output[] ,len ,pos = 0); /* Converts number to string. */ native numtostr(num,string[],len); +stock int_to_str(num, string[], len) + return numtostr(num, string[], len); + /* Returns converted string to number. */ native strtonum(string[]); +stock str_to_int(string[]) + return strtonum(string) + /* Checks if two strings equal. If len var is set * then there are only c chars comapred. */ native equal(const a[],const b[],c=0);