17.06.2016, 04:14
Hey guys, some errors popped when I tried to script a banip CMD
Code:
ip:
Errors:
Code:
PHP код:
SendRconCommand("banip "ip);
PHP код:
if(sscanf(params, "s[16]s[128]", ip, params)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /banip [IP] [reason]");
PHP код:
D:\MySQL\filterscripts\NexAdmin.pwn(962) : error 001: expected token: "-string end-", but found "-identifier-"
D:\MySQL\filterscripts\NexAdmin.pwn(962) : warning 215: expression has no effect
D:\MySQL\filterscripts\NexAdmin.pwn(962) : error 001: expected token: ";", but found ")"
D:\MySQL\filterscripts\NexAdmin.pwn(962) : error 029: invalid expression, assumed zero
D:\MySQL\filterscripts\NexAdmin.pwn(962) : fatal error 107: too many error messages on one line