17.10.2016, 10:24
My brain doesn't want to cooperate.
PHP Code:
// somewhere
new str[64];
strcat(str, "something something");
ShowDialog(playerid, 1, str); // 133
PHP Code:
// function
ShowDialog(playerid, ID, str)
{
switch(ID)
{
case 1: ShowPlayerDialog(playerid, ID, DIALOG_STYLE_PASSWORD, "Register", str, "Register", "Kick me!"); // 175
// and more
}
return 1;
}
PHP Code:
C:\Users\me\Desktop\SAMP\test\dm.pwn(133) : error 035: argument type mismatch (argument 3)
C:\Users\me\Desktop\SAMP\test\dm.pwn(175) : error 035: argument type mismatch (argument 5)