[Ajuda]Warings
#1

como resolver estes waring


C:\Users\Windows 7\Desktop\gamemodes\gm.pwn(18153) : warning 202: number of arguments does not match definition
C:\Users\Windows 7\Desktop\gamemodes\gm.pwn(18154) : warning 202: number of arguments does not match definition
C:\Users\Windows 7\Desktop\gamemodes\gm.pwn(18155) : warning 202: number of arguments does not match definition
C:\Users\Windows 7\Desktop\gamemodes\gm.pwn(18156) : warning 202: number of arguments does not match definition
C:\Users\Windows 7\Desktop\gamemodes\gm.pwn(48447) : warning 217: loose indentation
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase

Header size: 12580 bytes
Code size: 2577196 bytes
Data size: 3353808 bytes
Stack/heap size: 16384 bytes; estimated max. usage: unknown, due to recursion
Total requirements: 5959968 bytes

5 Warnings.


pawn Код:
AddStaticVehicle(462,1187.19995117,-1353.00000000,13.19999981,266,-1,-1,15); // moto spawn 6
    AddVeiculo(462,1187.19995117,-1354.69995117,13.19999981,266,-1,-1,15,60000*RESPAWN_TIME); // caran [ 91 ]
    AddVeiculo(462,1187.30004883,-1356.40002441,13.19999981,266,-1,-1,15,60000*RESPAWN_TIME); // caran [ 92 ]
    AddVeiculo(462,1187.30004883,-1358.09997559,13.19999981,266,-1,-1,15,60000*RESPAWN_TIME); // caran [ 93 ]
e o oltimo waring

pawn Код:
else
             {
                SendClientMessage(playerid, COLOR_RED, "Nъmero Invбlido.");
                return 1;
             }
             }
waring>         return 1;
             }
este ultimo codigo e maior mas destaquei somente a linha do avizo
Reply
#2

tenta tirar os "*RESPAWN_TIME

e vai no topo do gm e coloca

pawn Код:
#pragma tabsize 0
Reply
#3

restou apenas 1 waring

pawn Код:
AddStaticVehicle(462,1187.19995117,-1353.00000000,13.19999981,266,-1,-1,15); // moto spawn 6
C:\Users\Windows 7\Desktop\gamemodes\gm.pwn(18153) : warning 202: number of arguments does not match definition
Reply
#4

pawn Код:
AddVeiculo(462,1187.19995117,-1353.00000000,13.19999981,266,-1,-1,15); // moto spawn 6
ja tento assim man?
Reply
#5

vlws pego de boa
Reply
#6

+ rp?
Reply
#7

lol 18156 linhas! Nussa"
Reply
#8

Meu Larga mгo de ser burro -.-"


pawn Код:
AddStaticVehicle(462,1187.19995117,-1353.00000000,13.19999981,266,-1,-1,15); // moto spawn 6
    AddStaticVehicle(462,1187.19995117,-1354.69995117,13.19999981,266,-1,-1,15,60000*RESPAWN_TIME); // caran [ 91 ]
    AddStaticVehicle(462,1187.30004883,-1356.40002441,13.19999981,266,-1,-1,15,60000*RESPAWN_TIME); // caran [ 92 ]
    AddStaticVehicle(462,1187.30004883,-1358.09997559,13.19999981,266,-1,-1,15,60000*RESPAWN_TIME); // caran [ 93 ]
Se tirar o "Respawn_Time" o cara vai sair do carro e ele vai respawnar ...



e o outro erro tente assim .

pawn Код:
Abaixo tente assim ...
             {
                SendClientMessage(playerid, COLOR_RED, "Nъmero Invбlido.");
                return 1;
             }
        }
         return 1;
  }

#pragma tabsize 0 й a mesma coisa que joga a sujeira para baixo do tapete quando se varre uma casa ...
ele sу esconde os warnings mas eles continuam lб ...
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)