warning 202: number of arguments does not match definition
#1

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");
Reply
#2

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

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

Reply
#4

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

Reply
#5

Okay. I send you a photo:

I hope you can help me with that.
Reply
#6

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
Reply
#7

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


Forum Jump:


Users browsing this thread: 1 Guest(s)