Posts: 2,938
Threads: 162
Joined: May 2010
C:\DOCUME~1\Karim\MYDOCU~1\GRANDT~1\SA-MPS~1\GAMEMO~1\COPSAR~1.pwn(3917) : error 035: argument type mismatch (argument 2)
C:\DOCUME~1\Karim\MYDOCU~1\GRANDT~1\SA-MPS~1\GAMEMO~1\COPSAR~1.pwn(3917) : error 039: constant symbol has no size
C:\DOCUME~1\Karim\MYDOCU~1\GRANDT~1\SA-MPS~1\GAMEMO~1\COPSAR~1.pwn(3917) : warning 213: tag mismatch
pawn Код:
new file[100]; GetPlayerName(playerid,Name,sizeof(Name)); format(file,sizeof(file),PlayerFile,Name);
S:
Posts: 2,938
Threads: 162
Joined: May 2010
they are there.. look o.o
pawn Код:
C:\DOCUME~1\Karim\MYDOCU~1\GRANDT~1\SA-MPS~1\GAMEMO~1\COPSAR~1.pwn(3610) : warning 219: local variable "Name" shadows a variable at a preceding level
C:\DOCUME~1\Karim\MYDOCU~1\GRANDT~1\SA-MPS~1\GAMEMO~1\COPSAR~1.pwn(3610) : error 035: argument type mismatch (argument 2)
C:\DOCUME~1\Karim\MYDOCU~1\GRANDT~1\SA-MPS~1\GAMEMO~1\COPSAR~1.pwn(3610) : error 035: argument type mismatch (argument 2)
C:\DOCUME~1\Karim\MYDOCU~1\GRANDT~1\SA-MPS~1\GAMEMO~1\COPSAR~1.pwn(3610) : warning 213: tag mismatch
C:\DOCUME~1\Karim\MYDOCU~1\GRANDT~1\SA-MPS~1\GAMEMO~1\COPSAR~1.pwn(3610) : warning 204: symbol is assigned a value that is never used: "Name"
C:\DOCUME~1\Karim\MYDOCU~1\GRANDT~1\SA-MPS~1\GAMEMO~1\COPSAR~1.pwn(3636) : warning 219: local variable "Name" shadows a variable at a preceding level
C:\DOCUME~1\Karim\MYDOCU~1\GRANDT~1\SA-MPS~1\GAMEMO~1\COPSAR~1.pwn(3636) : error 035: argument type mismatch (argument 2)
C:\DOCUME~1\Karim\MYDOCU~1\GRANDT~1\SA-MPS~1\GAMEMO~1\COPSAR~1.pwn(3636) : error 035: argument type mismatch (argument 2)
C:\DOCUME~1\Karim\MYDOCU~1\GRANDT~1\SA-MPS~1\GAMEMO~1\COPSAR~1.pwn(3636) : warning 213: tag mismatch
C:\DOCUME~1\Karim\MYDOCU~1\GRANDT~1\SA-MPS~1\GAMEMO~1\COPSAR~1.pwn(3636) : warning 204: symbol is assigned a value that is never used: "Name"
C:\DOCUME~1\Karim\MYDOCU~1\GRANDT~1\SA-MPS~1\GAMEMO~1\COPSAR~1.pwn(3691) : warning 219: local variable "Name" shadows a variable at a preceding level
C:\DOCUME~1\Karim\MYDOCU~1\GRANDT~1\SA-MPS~1\GAMEMO~1\COPSAR~1.pwn(3691) : error 035: argument type mismatch (argument 2)
C:\DOCUME~1\Karim\MYDOCU~1\GRANDT~1\SA-MPS~1\GAMEMO~1\COPSAR~1.pwn(3691) : error 035: argument type mismatch (argument 2)
C:\DOCUME~1\Karim\MYDOCU~1\GRANDT~1\SA-MPS~1\GAMEMO~1\COPSAR~1.pwn(3691) : warning 213: tag mismatch
C:\DOCUME~1\Karim\MYDOCU~1\GRANDT~1\SA-MPS~1\GAMEMO~1\COPSAR~1.pwn(3691) : warning 204: symbol is assigned a value that is never used: "Name"
C:\DOCUME~1\Karim\MYDOCU~1\GRANDT~1\SA-MPS~1\GAMEMO~1\COPSAR~1.pwn(3873) : warning 219: local variable "Name" shadows a variable at a preceding level
C:\DOCUME~1\Karim\MYDOCU~1\GRANDT~1\SA-MPS~1\GAMEMO~1\COPSAR~1.pwn(3873) : error 035: argument type mismatch (argument 2)
C:\DOCUME~1\Karim\MYDOCU~1\GRANDT~1\SA-MPS~1\GAMEMO~1\COPSAR~1.pwn(3873) : error 035: argument type mismatch (argument 2)
C:\DOCUME~1\Karim\MYDOCU~1\GRANDT~1\SA-MPS~1\GAMEMO~1\COPSAR~1.pwn(3873) : warning 213: tag mismatch
C:\DOCUME~1\Karim\MYDOCU~1\GRANDT~1\SA-MPS~1\GAMEMO~1\COPSAR~1.pwn(3873) : warning 204: symbol is assigned a value that is never used: "Name"
C:\DOCUME~1\Karim\MYDOCU~1\GRANDT~1\SA-MPS~1\GAMEMO~1\COPSAR~1.pwn(3917) : warning 219: local variable "Name" shadows a variable at a preceding level
C:\DOCUME~1\Karim\MYDOCU~1\GRANDT~1\SA-MPS~1\GAMEMO~1\COPSAR~1.pwn(3917) : error 035: argument type mismatch (argument 2)
C:\DOCUME~1\Karim\MYDOCU~1\GRANDT~1\SA-MPS~1\GAMEMO~1\COPSAR~1.pwn(3917) : error 035: argument type mismatch (argument 2)
C:\DOCUME~1\Karim\MYDOCU~1\GRANDT~1\SA-MPS~1\GAMEMO~1\COPSAR~1.pwn(3917) : warning 213: tag mismatch
C:\DOCUME~1\Karim\MYDOCU~1\GRANDT~1\SA-MPS~1\GAMEMO~1\COPSAR~1.pwn(3917) : warning 204: symbol is assigned a value that is never used: "Name"
all of them are on these lines
pawn Код:
new file[100],Name[MAX_PLAYER_NAME]; GetPlayerName(playerid,Name,sizeof(Name)); format(file,sizeof(file),PlayerFile,Name);
pawn Код:
enum PLAYER_MAIN {
Deposit,
};
new pInfo[MAX_PLAYERS][PLAYER_MAIN];
new chosenpid;
#define PlayerFile "Bank/%s.ini"
Posts: 3,304
Threads: 58
Joined: Sep 2008
Reputation:
0
Replace PlayerFile to "Bank/%s.ini", I don't see a possibility to format pre-formatted strings.
Posts: 2,938
Threads: 162
Joined: May 2010
i got it dowqn to this
C:\DOCUME~1\Karim\MYDOCU~1\GRANDT~1\SA-MPS~1\GAMEMO~1\COPSAR~1.pwn(3609) : warning 213: tag mismatch
C:\DOCUME~1\Karim\MYDOCU~1\GRANDT~1\SA-MPS~1\GAMEMO~1\COPSAR~1.pwn(3636) : warning 213: tag mismatch
C:\DOCUME~1\Karim\MYDOCU~1\GRANDT~1\SA-MPS~1\GAMEMO~1\COPSAR~1.pwn(3692) : warning 213: tag mismatch
C:\DOCUME~1\Karim\MYDOCU~1\GRANDT~1\SA-MPS~1\GAMEMO~1\COPSAR~1.pwn(3875) : warning 213: tag mismatch
C:\DOCUME~1\Karim\MYDOCU~1\GRANDT~1\SA-MPS~1\GAMEMO~1\COPSAR~1.pwn(3920) : warning 213: tag mismatch
on lines
pawn Код:
format(file,sizeof(file),PlayerFile,Name);
[edit] hiddos what to replace it as?
Posts: 3,304
Threads: 58
Joined: Sep 2008
Reputation:
0
Separate lines don't change anything.
To me it seems that you're not using a string for your playername, but just a normal integer variable