Argument Type Mismatch (argument 3)
#1

Okay so Im having this problem:
pawn Код:
C:\Users\Max\Desktop\GTA San Andreas\samp03csvr_win32\gamemodes\Mystic_RP.pwn(342) : error 035: argument type mismatch (argument 3)
C:\Users\Max\Desktop\GTA San Andreas\samp03csvr_win32\gamemodes\Mystic_RP.pwn(348) : error 035: argument type mismatch (argument 3)
Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


2 Errors.
And the lines are:
342
pawn Код:
if(!strlen(inputtext)) return ShowPlayerDialog(playerid, REGISTER_DIALOG,  "Hello, you are registered.", "Hello again, please use /login to log in to your account.", "Login", "Exit");
348:
pawn Код:
ShowPlayerDialog(playerid, REGISTER_DIALOG,  "Hello, you are registered.", "Hello again, please use /login to log in to your account.", "Login", "Exit");
and here its defined:
pawn Код:
#define REGISTER_DIALOG 1
Reply
#2

Edited
Reply
#3

ShowPlayerDialog has playerid, the dialog id, the style, header title , inside box info, button 1 and button 2!

You are missing DIALOG_STYLE... and Header title!

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

oh, thanks logical mistake
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)