SA-MP Forums Archive
Pequena ayuda por favor. - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Non-English (https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Español/Spanish (https://sampforum.blast.hk/forumdisplay.php?fid=29)
+---- Thread: Pequena ayuda por favor. (/showthread.php?tid=317655)



Pequena ayuda por favor. - The_M - 12.02.2012

Error de la lнnea:
Код:
.pwn(365) : warning 202: number of arguments does not match definition
hasta:

Код:
pwn(372) : warning 202: number of arguments does not match definition
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


32 Warnings.
Son todas las mismas, he aquн las lнneas que manda errores:

pawn Код:
paraguay = GangZoneCreate(35,03363,1751,681,373,692,2125,373);
    mexico = GangZoneCreate(-397,0478,980,9415,151,8124,1226,177);
    brasil = GangZoneCreate(-934,23,1401,345,-630,6053,1599,869);
    xile = GangZoneCreate(-467,115,1331,278,-175,1681,1646,58);
    estadio = GangZoneCreate(1261,211,2265,508,1529,802,2382,287);
    chinosantiguoaero = GangZoneCreate(186,846,2393,964,490,4708,2615,844);
    bigclucler = GangZoneCreate(-373,692,2627,522,-140,1345,2755,979);
    nosexd = GangZoneCreate(-1658,258,2475,709,-1354,634,2720,945);
    print("Text Draws Cargados");
Eh no se pasen rollos con los nombres, solo pido esta pequeсa ayuda, gracias.


Respuesta: Pequena ayuda por favor. - Miguel_Leopold - 12.02.2012

pusiste los puntos '.' como comas ','
remplaza tu codigo por este:
pawn Код:
paraguay = GangZoneCreate(35.03363,1751.681,373.692,2125.373);
    mexico = GangZoneCreate(-397.0478,980.9415,151.8124,1226.177);
    brasil = GangZoneCreate(-934.23,1401.345,-630.6053,1599.869);
    xile = GangZoneCreate(-467.115,1331.278,-175.1681,1646.58);
    estadio = GangZoneCreate(1261.211,2265.508,1529.802,2382.287);
    chinosantiguoaero = GangZoneCreate(186.846,2393.964,490.4708,2615.844);
    bigclucler = GangZoneCreate(-373.692,2627.522,-140.1345,2755.979);
    nosexd = GangZoneCreate(-1658.258,2475.709,-1354.634,2720.945);
    print("Text Draws Cargados");



Re: Pequena ayuda por favor. - The_M - 12.02.2012

Perfecto, gracias man.