Quote:
Originally Posted by PT
nao o seu e strcmp
coloca este
pawn Код:
if(strcmp(cmd, "/desbanir", true) == 0) { if(/*variavel de adm level 3*/) { new ip[20], string[128]; if(sscanf(params, "s[128]", ip)) { SendClientMessage(playerid, Verde, "Use /desbanir [ip]"); return 1; } format(string, sizeof(string), "unbanip %s", ip); SendRconCommand(string); } return 1; }
|
I:\Servers Samp\--------\filterscripts\admin.pwn(1153) : warning 219: local variable "string" shadows a variable at a preceding level
I:\Servers Samp\--------\filterscripts\admin.pwn(1154) : error 017: undefined symbol "sscanf"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
1 Error.
Linhas: new ip[20], string[128];
if(sscanf(params, "s[128]", ip))
respectivamente.