08.02.2010, 18:49
When i change
into
Errors :
Here is my script
Thanks for your help guys
Код:
PAWN Code: "%s,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d"
Код:
"PlayerName=%s\nVehicleOwned=%d\nVehicleOwner=%d\nPassword=%d\nCash=%d\nBank=%d\nAdmin Level=%d\nBusinesOwner=%d\nBusinessOwned=%d\nPhone=%d\nPhone Number=%d"
Код:
F:\SANAND~1\Server\GAMEMO~1\BUILDI~2.PWN(2718) : error 075: input line too long (after substitutions) F:\SANAND~1\Server\GAMEMO~1\BUILDI~2.PWN(2719) : error 017: undefined symbol "pla" F:\SANAND~1\Server\GAMEMO~1\BUILDI~2.PWN(2720) : error 017: undefined symbol "yerid" F:\SANAND~1\Server\GAMEMO~1\BUILDI~2.PWN(2720) : error 029: invalid expression, assumed zero F:\SANAND~1\Server\GAMEMO~1\BUILDI~2.PWN(2720) : error 029: invalid expression, assumed zero F:\SANAND~1\Server\GAMEMO~1\BUILDI~2.PWN(2720) : fatal error 107: too many error messages on one line
Код:
stock SavePlayer(playerid) { new fname[256],playername[256],filestring[256]; new File: file; GetPlayerName(playerid, playername, sizeof(playername)); format(fname,sizeof(fname),P_FILE,udb_encode(playername)); if(!fexist(fname)) {} else { file = fopen(fname, io_write); if(file) { PlayerInfo[playerid][pcash] = GetPlayerMoney(playerid); format(filestring,sizeof(filestring),"PlayerName=%s\nVehicleOwned=%d\nVehicleOwner=%d\nPassword=%d\nCash=%d\nBank=%d\nAdmin Level=%d\nBusinesOwner=%d\nBusinessOwned=%d\nPhone=%d\nPhone Number=%d",playername,PlayerInfo[playerid][vowned],PlayerInfo[playerid][vowner],PlayerInfo[playerid][pass],PlayerInfo[playerid][pcash],PlayerInfo[playerid][bank],PlayerInfo[playerid][admin],PlayerInfo[playerid][bowner],PlayerInfo[playerid][bowned],PlayerInfo[playerid][phone],PlayerInfo[playerid][phonenr],PlayerInfo[playerid][niveau]); fwrite(file,filestring); fclose(file); } }