How to fix this errors - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: How to fix this errors (
/showthread.php?tid=583215)
How to fix this errors -
ognyanov - 26.07.2015
Hello i have a problem
How ti fix this errors ?
PHP код:
C:\Users\Deyan\Desktop\dawada\gamemodes\SanJoseRolePlay.pwn(1572) : warning 202: number of arguments does not match definition
C:\Users\Deyan\Desktop\dawada\gamemodes\SanJoseRolePlay.pwn(4664) : warning 202: number of arguments does not match definition
C:\Users\Deyan\Desktop\dawada\gamemodes\SanJoseRolePlay.pwn(7058) : warning 213: tag mismatch
C:\Users\Deyan\Desktop\dawada\gamemodes\SanJoseRolePlay.pwn(7101) : warning 213: tag mismatch
C:\Users\Deyan\Desktop\dawada\gamemodes\SanJoseRolePlay.pwn(8080) : warning 213: tag mismatch
C:\Users\Deyan\Desktop\dawada\gamemodes\SanJoseRolePlay.pwn(8120) : warning 213: tag mismatch
C:\Users\Deyan\Desktop\dawada\gamemodes\SanJoseRolePlay.pwn(8159) : warning 213: tag mismatch
C:\Users\Deyan\Desktop\dawada\gamemodes\SanJoseRolePlay.pwn(11208) : warning 204: symbol is assigned a value that is never used: "stattext"
C:\Users\Deyan\Desktop\dawada\gamemodes\SanJoseRolePlay.pwn(19874) : warning 213: tag mismatch
C:\Users\Deyan\Desktop\dawada\gamemodes\SanJoseRolePlay.pwn(19882) : warning 213: tag mismatch
C:\Users\Deyan\Desktop\dawada\gamemodes\SanJoseRolePlay.pwn(19890) : warning 213: tag mismatch
C:\Users\Deyan\Desktop\dawada\gamemodes\SanJoseRolePlay.pwn(25006) : warning 202: number of arguments does not match definition
C:\Users\Deyan\Desktop\dawada\gamemodes\SanJoseRolePlay.pwn(25537) : warning 203: symbol is never used: "Name"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
13 Warnings.
Re: How to fix this errors -
TenTen - 26.07.2015
this isn't a errors this is just a warnings bro
Re: How to fix this errors -
ognyanov - 26.07.2015
Sorry,i'm newbie.Lock and thanks.
Re: How to fix this errors -
Beckett - 26.07.2015
Quote:
Originally Posted by TenTen
this isn't a errors this is just a warnings bro
|
They aren't "Just warning". It was a warning for a reason. IT DOES MATTER; Do not give false information if you don't know what you are talking about!
On Topic: Post the code lines please.
Re: How to fix this errors -
Vince - 26.07.2015
Quote:
Originally Posted by TenTen
this isn't a errors this is just a warnings bro
|
And? Does that make them any less important? Warnings exist for a reason. They point to code that is syntactically correct but logically wrong. This can lead to all sorts of glitchy stuff and unexpected behavior.
"Number of arguments does not match definition" is simply a matter of counting. Yes, counting. I reckon you learned that in first grade? If a function expects three parameters then you should give it three parameters. Not two, not four, exactly three.