15.09.2011, 20:02
hello my again :/
to day i make bank sys for my Rp but i have this errror and i dont know about him
error:
code
error line
to day i make bank sys for my Rp but i have this errror and i dont know about him
error:
Код:
error 035: argument type mismatch (argument 1)
Код:
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...
Код:
new File[100],Name[MAX_PLAYER_NAME]; GetPlayerName(playerid,Name,sizeof(Name)); format(File,sizeof(File),PATH,Name);