[HELP]Huge ammout of warning caused by CreateObject.
#1

The warning line is 824 lines so i'm gonna put a part of it out
Код:
\Guaid_fs.pwn(119) : warning 217: loose indentation
Guaid_fs.pwn(119) : warning 202: number of arguments does not match definition
Guaid_fs.pwn(119) : warning 202: number of arguments does not match definition
\Guaid_fs.pwn(119) : warning 202: number of arguments does not match definition
\Guaid_fs.pwn(119) : warning 202: number of arguments does not match definition
C:\Users\Svensson\Desktop\samp\samp02Xserver.win32\gamemodes\Guaid_fs.pwn(119) : warning 202: number of arguments does not match definition
\gamemodes\Guaid_fs.pwn(119) : warning 202: number of arguments does not match definition
\Guaid_fs.pwn(120) : warning 202: number of arguments does not match definition
\Guaid_fs.pwn(120) : warning 202: number of arguments does not match definition
\Guaid_fs.pwn(120) : warning 202: number of arguments does not match definition
\Guaid_fs.pwn(120) : warning 202: number of arguments does not match definition
\Guaid_fs.pwn(120) : warning 202: number of arguments does not match definition
\Guaid_fs.pwn(120) : warning 202: number of arguments does not match definition
\Guaid_fs.pwn(121) : warning 202: number of arguments does not match definition
it keep's on doing that all way down.
Код:
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


824 Warnings.
i know that warning arent blocking for playing.... like errors but i would like to erase them,
Line 119 and 120,
pawn Код:
CreateObject(1660, 1687,86, -2491,83, 12,00, 0,00, 0,00, 90,00);
CreateObject(1660, 1703,23, -2500,19, 12,00, 0,00, 0,00, -90,00);
Reply
#2

You have a comma when it should be a decimal in your float arguments.

Reply
#3

Change that 0,00 to 0.00 and the warnings will go
Reply
#4

Change:
pawn Код:
CreateObject(1660, 1687,86, -2491,83, 12,00, 0,00, 0,00, 90,00);
CreateObject(1660, 1703,23, -2500,19, 12,00, 0,00, 0,00, -90,00);
To:
pawn Код:
CreateObject(1660, 1687.86, -2491.83, 1.00, 0.00, 0.00, 90.00);
CreateObject(1660, 1703.23, -2500.19, 12.00, 0.00, 0.00, -90.00);
it will work i promise
Reply
#5

Quote:
Originally Posted by [KMA
America ]
Change:
pawn Код:
CreateObject(1660, 1687,86, -2491,83, 12,00, 0,00, 0,00, 90,00);
CreateObject(1660, 1703,23, -2500,19, 12,00, 0,00, 0,00, -90,00);
To:
pawn Код:
CreateObject(1660, 1687.86, -2491.83, 1.00, 0.00, 0.00, 90.00);
CreateObject(1660, 1703.23, -2500.19, 12.00, 0.00, 0.00, -90.00);
it will work i promise
Yup
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)