SA-MP Forums Archive
12 warnings after compile - 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: 12 warnings after compile (/showthread.php?tid=577842)



12 warnings after compile - NexySamp - 14.06.2015

Any suggestions?
The problem:
Код:
C:\Users\Korisnik\Desktop\Yugoslavia Trucking v.0.3.7\include\BT_Dialogs.inc(180) : warning 202: number of arguments does not match definition
C:\Users\Korisnik\Desktop\Yugoslavia Trucking v.0.3.7\include\BT_Dialogs.inc(180) : warning 202: number of arguments does not match definition
C:\Users\Korisnik\Desktop\Yugoslavia Trucking v.0.3.7\include\BT_Dialogs.inc(180) : warning 202: number of arguments does not match definition
C:\Users\Korisnik\Desktop\Yugoslavia Trucking v.0.3.7\include\BT_Dialogs.inc(180) : warning 202: number of arguments does not match definition
C:\Users\Korisnik\Desktop\Yugoslavia Trucking v.0.3.7\include\BT_Dialogs.inc(180) : warning 202: number of arguments does not match definition
C:\Users\Korisnik\Desktop\Yugoslavia Trucking v.0.3.7\include\BT_Dialogs.inc(180) : warning 202: number of arguments does not match definition
C:\Users\Korisnik\Desktop\Yugoslavia Trucking v.0.3.7\include\BT_Dialogs.inc(297) : warning 202: number of arguments does not match definition
C:\Users\Korisnik\Desktop\Yugoslavia Trucking v.0.3.7\include\BT_Dialogs.inc(297) : warning 202: number of arguments does not match definition
C:\Users\Korisnik\Desktop\Yugoslavia Trucking v.0.3.7\include\BT_Dialogs.inc(297) : warning 202: number of arguments does not match definition
C:\Users\Korisnik\Desktop\Yugoslavia Trucking v.0.3.7\include\BT_Dialogs.inc(297) : warning 202: number of arguments does not match definition
C:\Users\Korisnik\Desktop\Yugoslavia Trucking v.0.3.7\include\BT_Dialogs.inc(297) : warning 202: number of arguments does not match definition
C:\Users\Korisnik\Desktop\Yugoslavia Trucking v.0.3.7\include\BT_Dialogs.inc(297) : warning 202: number of arguments does not match definition
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


12 Warnings.
The code:
http://pastebin.com/kPSRhQ73


Re: 12 warnings after compile - Scottylad - 14.06.2015

Instead of
Код:
 SendClientMessage(playerid, 0xFFFFFFFF, TXT_AccountRegistered);
Do:
Код:
SendClientMessage(playerid, 0xFFFFFF);
Do not have the:
Quote:

TXT_AccountRegistered

because it won't work like that, else you will have to make a new SendClientMessage with the third degree placed into it.


Re: 12 warnings after compile - Virtual1ty - 14.06.2015

Anyway, don't listen to whatever Scottylad is saying, your problem is SetSpawnInfo requires 13 parameters while at lines 180 and 297 you are missing the last parameters! Resort to wiki for function documentation: https://sampwiki.blast.hk/wiki/SetSpawnInfo .


Re: 12 warnings after compile - NexySamp - 14.06.2015

Quote:
Originally Posted by Virtual1ty
Посмотреть сообщение
Anyway, don't listen to whatever Scottylad is saying, your problem is SetSpawnInfo requires 13 parameters while at lines 180 and 297 you are missing the last parameters! Resort to wiki for function documentation: https://sampwiki.blast.hk/wiki/SetSpawnInfo .
Thank you fixed.