[Pomoc] Oko 2 warning-a

Započeo stefan0405, Mart 01, 2012, 02:32:43 PRE PODNE

prethodna tema - sledeća tema

0 članova i 4 gostiju pregledaju ovu temu.


Izbacuje mi ova 2 warning-a, nov sam u ovome(skriptanju) pa ne znam da ih resim.



C:\Documents and Settings\GBM\Desktop\Brutal Public  Ewolution\gamemodes\Bp-RolePlay.pwn(19161) : warning 202: number of arguments does not match definition
C:\Documents and Settings\GBM\Desktop\Brutal Public  Ewolution\gamemodes\Bp-RolePlay.pwn(32407) : warning 219: local variable "mod" shadows a variable at a preceding level



if(strcmp(cmd, "/trafika7", true) == 0 || strcmp(cmd, "/prodavnica7", true) == 0)
   {
       if(IsPlayerConnected(playerid))
       {
         if (!PlayerToPoint(30, playerid,969.2311,-1133.5181,23.8281,292))//centerpoint 24-7
         {
            SendClientMessage(playerid, COLOR_GRAD2, "   Niste u blizini prodavnice !");
            return 1;
         }
         tmp = strtok(cmdtext, idx);
         if(!strlen(tmp))
         {





{
             if(BizzInfo[location-99][bProducts] <= 0)
             {
                 GameTextForPlayer(playerid, "~r~Nemamo vise zaliha", 5000, 1);
               return 1;
             }
             new mod = 100;
            tmp = strtok(cmdtext, idx);
            if(!strlen(tmp))
            {