compatible to new include files
This commit is contained in:
@ -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) {
|
||||
|
Reference in New Issue
Block a user