SA-MP Forums Archive
warning 202: number of arguments does not match definition - 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: warning 202: number of arguments does not match definition (/showthread.php?tid=645339)



warning 202: number of arguments does not match definition - MariusAdv - 25.11.2017

Hello guys, I have a problem with this warning:
Код:
warning 202: number of arguments does not match definition
I give you a line with warning:
Код:
case DIALOG_LOGIN:
        {
            if(!response)
					return Kick(playerid);
					
            if(response)
            {
                if(!strlen(inputtext))
                     return ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_PASSWORD, "Incorrect Password!", "Please enter the correct password for login to server" "Login", "Exit");



Re: warning 202: number of arguments does not match definition - Konstantinos - 25.11.2017

ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_PASSWORD, "Incorrect Password!", "Please enter the correct password for login to server", "Login", "Exit");


Re: warning 202: number of arguments does not match definition - MariusAdv - 25.11.2017

And now I want to open my server on localhost and my console gives it:
Quote:

SA-MP Dedicated Server
----------------------
v0.3.7-R2, ©2005-2015 SA-MP Team

filterscripts = "" (string)

Server Plugins
--------------
Loading plugin: mysql
Failed.
Loading plugin: sscanf


===============================

sscanf plugin loaded.

Version: 2.8.2

© 2012 Alex "******" Cole

===============================

Loaded.
Loading plugin: streamer


*** Streamer Plugin v2.9.2 by Incognito loaded ***

Loaded.
Loading plugin: crashdetect
Failed.
Loaded 2 plugins.


Started server on port: 7777, with maxplayers: 5 lanmode is OFF.


Filterscripts
---------------
Loaded 0 filterscripts.

Script[gamemodes/GamemodeOs.amx]: Run time error 19: "File or function is not found"
Number of vehicle models: 0




Re: warning 202: number of arguments does not match definition - 1fret - 25.11.2017

Quote:
Originally Posted by MariusAdv
Посмотреть сообщение
And now I want to open my server on localhost and my console gives it:
This could be caused by alot of this i will make a list and your check it..

1. Make sure you have no errors or warnings when you compile your script.

2. Besure to download all the necessary plugins and make a plugins folder and place them inside it, remember .dll for windows OS and .so for Linux.

3. Add the necessary plugins to the server.cfg file in the plugins line.

You can even show the server.cfg file here

EDIT: i see these errors
PHP код:
Loading pluginmysql
Failed
.
Loading plugincrashdetect
Failed




Re: warning 202: number of arguments does not match definition - MariusAdv - 25.11.2017

Okay. I send you a photo:

I hope you can help me with that.


Re: warning 202: number of arguments does not match definition - 1fret - 25.11.2017

Try sadding this line to in plugins, also update or downgrade the plugins to the valid version crashdetect and mysql


To my knowledge crashdetect should always be first once its being used

crashdetect.dll mysql.dll sscaf.dll streamer.dll


Re: warning 202: number of arguments does not match definition - RedFusion - 25.11.2017

Also make sure you use the same version of both plugins and includes