compatible to new include files

This commit is contained in:
Felix Geyer
2004-03-07 14:30:53 +00:00
parent 4744f0dc0e
commit 9f6b206881
26 changed files with 51 additions and 26 deletions

View File

@ -33,6 +33,7 @@
*/
#include <amxmodx>
#include <amxmisc>
#define SPEED 0.3
@ -91,7 +92,7 @@ public setMessage(id,level,cid) {
g_Length = strlen(g_scrollMsg)
new mytime[32]
read_argv(2,mytime,31)
g_Frequency = strtonum(mytime)
g_Frequency = str_to_int(mytime)
if (g_Frequency > 0) {
new minimal = floatround((g_Length + 48) * (SPEED + 0.1))
if (g_Frequency < minimal) {