error 035: argument type mismatch (argument 1) -
Bartando - 15.09.2011
hello my again :/
to day i make bank sys for my Rp but i have this errror and i dont know about him
![Cheesy](images/smilies/biggrin.png)
error:
Код:
error 035: argument type mismatch (argument 1)
code
Код:
if(dialogid == 1131) //transfer (choose amount)
{
new File[100],Name[MAX_PLAYER_NAME]; GetPlayerName(playerid,Name,sizeof(Name)); format(File,sizeof(File),PATH,Name);
if(!response) return ShowPlayerDialog(playerid,1125,DIALOG_STYLE_LIST,"Bank","Deposit\nWithdraw\nBalance\nTransfer","Select","Cancel");
else if(strval(inputtext) > PlayerInfo[playerid][StavUctu]) return SendClientMessage(playerid,COLOR_RED,"You Don't Have That Amount In Bank To Transfer");
else if(!IsNumeric(inputtext))
{
new string[128];
format(string,sizeof(string),"Chosen Player ID : %d\nNow Enter The Amount You Want To Transfer",chosenpid);
ShowPlayerDialog(playerid,1131,DIALOG_STYLE_INPUT,"Transfer",string,"Transfer","Back");
SendClientMessage(playerid,COLOR_RED,"Please Use Numbers");
}
else...
error line
Код:
new File[100],Name[MAX_PLAYER_NAME]; GetPlayerName(playerid,Name,sizeof(Name)); format(File,sizeof(File),PATH,Name);
Respuesta: error 035: argument type mismatch (argument 1) -
[00]Luis - 15.09.2011
pawn Код:
new File[100], Name[MAX_PLAYER_NAME];
GetPlayerName(playerid,Name,sizeof(Name));
format(File,sizeof(File),PATH,Name);
I guess
Re: error 035: argument type mismatch (argument 1) -
Mean - 15.09.2011
How is the filepath defined?
Re: error 035: argument type mismatch (argument 1) -
RelaxCafe - 16.09.2011
Search for PATH in your script.. that might be used for something else and you are using it as a filepath..
Re: error 035: argument type mismatch (argument 1) -
Bartando - 16.09.2011
omg im so stupid!!
this is error line
Код:
INI_WriteInt(File,"Deposit",PlayerInfo[playerid][Deposit]);
Re: error 035: argument type mismatch (argument 1) -
[MWR]Blood - 16.09.2011
https://sampforum.blast.hk/showthread.php?tid=175565
Re: error 035: argument type mismatch (argument 1) -
Bartando - 16.09.2011
OMG i stupid i dont know how work with this :/ do you know any Bank sys with registration? (registration = pin register)
Re: error 035: argument type mismatch (argument 1) -
Jafet_Macario - 16.09.2011
https://sampforum.blast.hk/showthread.php?tid=235245
Re: error 035: argument type mismatch (argument 1) -
Bartando - 16.09.2011
ohh yes i searched but i cant use Plugins
![Sad](images/smilies/sad.gif)
( Do you know how can i PUT OFF sscanf v2.0 on that FS?
Re: error 035: argument type mismatch (argument 1) -
Jafet_Macario - 16.09.2011
Why can't you use plugins? ^^