16.03.2013, 21:25
'm changing the gm from strcmp to zcmd, I replaced all the lines:
with
I have the following features:
but I get 28 warning:
where is the problem?
Код:
if(strcmp("/command", cmdtext, true) == 0)
Код:
CMD:command(playerid, params[])
Код:
#include <a_samp> #include <streamer> #include <core> #include <float> #include <time> #include <file> #include <Dini> #include "../include/gl_common.inc" #include <mSelection> #include <a_npc> #include <zcmd> #include <sscanf2>
Код:
C:\Users\----\Desktop\NEW GM ZCMD\NEW GM\pawno\include\Dini.inc(239) : warning 219: local variable "string" shadows a variable at a preceding level ../include/gl_common.inc(79) : warning 219: local variable "string" shadows a variable at a preceding level ../include/gl_common.inc(100) : warning 219: local variable "string" shadows a variable at a preceding level ../include/gl_common.inc(123) : warning 219: local variable "string" shadows a variable at a preceding level ../include/gl_common.inc(138) : warning 219: local variable "string" shadows a variable at a preceding level C:\Users\----\Desktop\NEW GM ZCMD\NEW GM\pawno\include\mSelection.inc(698) : warning 219: local variable "string" shadows a variable at a preceding level C:\Users\----\Desktop\NEW GM ZCMD\NEW GM\gamemodes\NEW.pwn(616) : warning 219: local variable "string" shadows a variable at a preceding level C:\Users\----\Desktop\NEW GM ZCMD\NEW GM\gamemodes\NEW.pwn(881) : warning 219: local variable "string" shadows a variable at a preceding level C:\Users\----\Desktop\NEW GM ZCMD\NEW GM\gamemodes\NEW.pwn(980) : warning 219: local variable "string" shadows a variable at a preceding level C:\Users\----\Desktop\NEW GM ZCMD\NEW GM\gamemodes\NEW.pwn(1365) : warning 219: local variable "string" shadows a variable at a preceding level C:\Users\----\Desktop\NEW GM ZCMD\NEW GM\gamemodes\NEW.pwn(1643) : warning 202: number of arguments does not match definition C:\Users\----\Desktop\NEW GM ZCMD\NEW GM\gamemodes\NEW.pwn(1644) : warning 202: number of arguments does not match definition C:\Users\----\Desktop\NEW GM ZCMD\NEW GM\gamemodes\NEW.pwn(1645) : warning 202: number of arguments does not match definition C:\Users\----\Desktop\NEW GM ZCMD\NEW GM\gamemodes\NEW.pwn(1646) : warning 202: number of arguments does not match definition C:\Users\----\Desktop\NEW GM ZCMD\NEW GM\gamemodes\NEW.pwn(1647) : warning 202: number of arguments does not match definition C:\Users\----\Desktop\NEW GM ZCMD\NEW GM\gamemodes\NEW.pwn(1648) : warning 202: number of arguments does not match definition C:\Users\----\Desktop\NEW GM ZCMD\NEW GM\gamemodes\NEW.pwn(1649) : warning 202: number of arguments does not match definition C:\Users\----\Desktop\NEW GM ZCMD\NEW GM\gamemodes\NEW.pwn(1650) : warning 202: number of arguments does not match definition C:\Users\----\Desktop\NEW GM ZCMD\NEW GM\gamemodes\NEW.pwn(1654) : warning 219: local variable "string" shadows a variable at a preceding level C:\Users\----\Desktop\NEW GM ZCMD\NEW GM\gamemodes\NEW.pwn(6606) : warning 219: local variable "cmd" shadows a variable at a preceding level C:\Users\----\Desktop\NEW GM ZCMD\NEW GM\gamemodes\NEW.pwn(7309) : warning 202: number of arguments does not match definition C:\Users\----\Desktop\NEW GM ZCMD\NEW GM\gamemodes\NEW.pwn(8013) : warning 219: local variable "string" shadows a variable at a preceding level C:\Users\----\Desktop\NEW GM ZCMD\NEW GM\gamemodes\NEW.pwn(8213) : warning 219: local variable "string" shadows a variable at a preceding level C:\Users\----\Desktop\NEW GM ZCMD\NEW GM\gamemodes\NEW.pwn(14502) : warning 219: local variable "string" shadows a variable at a preceding level C:\Users\----\Desktop\NEW GM ZCMD\NEW GM\gamemodes\NEW.pwn(14541) : warning 219: local variable "string" shadows a variable at a preceding level C:\Users\----\Desktop\NEW GM ZCMD\NEW GM\gamemodes\NEW.pwn(14589) : warning 219: local variable "pName" shadows a variable at a preceding level C:\Users\----\Desktop\NEW GM ZCMD\NEW GM\gamemodes\NEW.pwn(14682) : warning 203: symbol is never used: "cmd" C:\Users\----\Desktop\NEW GM ZCMD\NEW GM\gamemodes\NEW.pwn(14682) : warning 203: symbol is never used: "scmds" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 28 Warnings.