Jump to content
  • 0

13 Warnings.


Seven

Question

Salut. Am adaugat 4 masini la spawn si 7-9 masini la jobul sweep [curatatori de strazi] si am dat Compile .. am asteptat , dar am primit urmatoarele Warning-uri

[pawn]C:\DOCUME~1\alex\Desktop\GAME~1\GM~1\GM.pwn(24758) : warning 202: number of arguments does not match definition

C:\DOCUME~1\alex\Desktop\GAME~1\GM~1\GM.pwn(24759) : warning 202: number of arguments does not match definition

C:\DOCUME~1\alex\Desktop\GAME~1\GM~1\GM.pwn(24760) : warning 202: number of arguments does not match definition

C:\DOCUME~1\alex\Desktop\GAME~1\GM~1\GM.pwn(24841) : warning 202: number of arguments does not match definition

C:\DOCUME~1\alex\Desktop\GAME~1\GM~1\GM.pwn(24842) : warning 202: number of arguments does not match definition

C:\DOCUME~1\alex\Desktop\GAME~1\GM~1\GM.pwn(24843) : warning 202: number of arguments does not match definition

C:\DOCUME~1\alex\Desktop\GAME~1\GM~1\GM.pwn(24844) : warning 202: number of arguments does not match definition

C:\DOCUME~1\alex\Desktop\GAME~1\GM~1\GM.pwn(24845) : warning 202: number of arguments does not match definition

C:\DOCUME~1\alex\Desktop\GAME~1\GM~1\GM.pwn(24846) : warning 202: number of arguments does not match definition

C:\DOCUME~1\alex\Desktop\GAME~1\GM~1\GM.pwn(24847) : warning 202: number of arguments does not match definition

C:\DOCUME~1\alex\Desktop\GAME~1\GM~1\GM.pwn(26023) : warning 217: loose indentation

C:\DOCUME~1\alex\Desktop\GAME~1\GM~1\GM.pwn(26024) : warning 217: loose indentation

C:\DOCUME~1\alex\Desktop\GAME~1\GM~1\GM.pwn(26899) : warning 219: local variable "car" shadows a variable at a preceding level

Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase

13 Warnings.[/pawn]

Link to comment
Share on other sites

6 answers to this question

Recommended Posts

Posteaza Linile cu erorile !

Daca nu stii cum apasa CTRL + G si in caseta aceea pui de ex 24748 !

Din warning ista linia e 24758

C:\DOCUME~1\alex\Desktop\GAME~1\GM~1\GM.pwn(24758) : warning 202: number of arguments does not match definition

Astept linile !

Link to comment
Share on other sites

Linia - 24758  car[250] = AddStaticVehicleEx(410,1745.4379,-1293.3605,13.2064,106.8201,1,1); //Manana

        24759      car[251] = AddStaticVehicleEx(410,1737.1295,-1295.2291,13.1991,273.6917,1,1); //Manana

        24760      car[252] = AddStaticVehicleEx(410,1720.0951,-1262.1112,13.1176,1.2802,1,1); //Manana

        24841      car[262] = AddStaticVehicleEx(574,1640.1847,-1907.6075,13.2773,7.4078,1,1);//Street sweeper 6

        24842              car[263] = AddStaticVehicleEx(574,1643.2698,-1906.9639,13.2773,13.2786,1,1);//Street sweeper 7

        24843           car[264] = AddStaticVehicleEx(574,1668.7634,-1893.8806,13.2720,270.2140,1,1);//Street sweeper 8

        24844           car[265] = AddStaticVehicleEx(574,1668.7612,-1889.0950,13.2720,269.8389,1,1);//Street sweeper 9

        24845           car[266] = AddStaticVehicleEx(574,1645.8835,-1906.0941,13.2773,14.4750,1,1);//Street sweeper 10

        24846           car[267] = AddStaticVehicleEx(574,1613.9064,-1887.1757,13.2720,86.5466,1,1);//Street sweeper 11

        24847           car[268] = AddStaticVehicleEx(574,1614.2715,-1889.1967,13.2720,89.7532,1,1);//Street sweeper 12

Linia - 26023                new playersip[64];

        26024       GetPlayerIp(playerid,playersip,sizeof(playersip));     

Linia - 25899      new car;

Link to comment
Share on other sites

[pawn] car[250] = AddStaticVehicleEx(410,1745.4379,-1293.3605,13.2064,106.8201); //Manana

car[251] = AddStaticVehicleEx(410,1737.1295,-1295.2291,13.1991,273.6917); //Manana

car[252] = AddStaticVehicleEx(410,1720.0951,-1262.1112,13.1176,1.2802); //Manana

car[262] = AddStaticVehicleEx(574,1640.1847,-1907.6075,13.2773,7.4078);//Street sweeper 6

car[263] = AddStaticVehicleEx(574,1643.2698,-1906.9639,13.2773,13.2786);//Street sweeper 7

car[264] = AddStaticVehicleEx(574,1668.7634,-1893.8806,13.2720,270.2140);//Street sweeper 8

car[265] = AddStaticVehicleEx(574,1668.7612,-1889.0950,13.2720,269.8389);//Street sweeper 9

car[266] = AddStaticVehicleEx(574,1645.8835,-1906.0941,13.2773,14.4750);//Street sweeper 10

car[267] = AddStaticVehicleEx(574,1613.9064,-1887.1757,13.2720,86.5466);//Street sweeper 11

car[268] = AddStaticVehicleEx(574,1614.2715,-1889.1967,13.2720,89.7532);//Street sweeper 12[/pawn]

Liniile 26023 & 26024 nu au pozitia corecta in script,si variabila new car; sterge-o.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.