2 warings
#1

I dont know what is problem can someone help me i hawe search jet!

errors here:
Код:
C:\Users\pcuser\Documents\stafs\Sa-Mp\mytestgamemode\gamemodes\ExTGZ.pwn(41881) : warning 202: number of arguments does not match definition
C:\Users\pcuser\Documents\stafs\Sa-Mp\mytestgamemode\gamemodes\ExTGZ.pwn(41886) : warning 202: number of arguments does not match definition
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


2 Warnings.
and here is code:
Код:
			if(listitem == 1)
			{
Line 41881		    ShowPlayerDialog(playerid, DIALOGID0+1, DIALOG_STYLE_INPUT,"|_____________________________.:Test~My~Game~Mode:._____________________________|", "Player User Database \nYou must register beafore you can play. Type Your Password here!", params, "OK", "Cancel");
			    return 1;
			}
			if(listitem == 2)
			{
Line 41886		    ShowPlayerDialog(playerid, DIALOGID0+2, DIALOG_STYLE_INPUT,"|_____________________________.:Test~My~Game~Mode:._____________________________|", "Player User Database \nYou must register beafore you can play. Type Your Password here!", params, "OK", "Cancel");
			}
Tnx
Reply
#2

Your "params" parameter does not fit to the specifications. I do not know what it is supposed to do, but removing it should also remove the warnings

https://sampwiki.blast.hk/wiki/ShowPlayerDialog
Reply
#3

delete ,params it is not needed there.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)