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>
// Uncomment if you want to have two new commands
// amx_off - pause plugins not marked as unpauseable
@ -317,7 +318,7 @@ public cmdPlugin(id,level,cid){
}
else if ( equal(cmds, "list" ) ) {
new arg1[8], running = 0
new start = read_argv(2,arg1,7) ? strtonum(arg1) : 1
new start = read_argv(2,arg1,7) ? str_to_int(arg1) : 1
if (--start < 0) start = 0
new plgnum = get_pluginsnum()
if (start >= plgnum) start = plgnum - 1