25.01.2015, 14:46
didn't work
__________________________________________________ __________________________________________
after i reperd other errors
script
Код:
.pwn(115) : warning 202: number of arguments does not match definition .pwn(115) : warning 202: number of arguments does not match definition .pwn(154) : error 001: expected token: ")", but found "{" .pwn(155) : error 017: undefined symbol "playyerid" .pwn(170) : error 017: undefined symbol "Userpath" .pwn(173) : error 017: undefined symbol "Playerinfo" .pwn(173) : warning 215: expression has no effect .pwn(173) : error 001: expected token: ";", but found "]" .pwn(173) : error 029: invalid expression, assumed zero .pwn(173) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 7 Errors.
after i reperd other errors
Код:
.pwn(18) : warning 201: redefinition of constant/macro (symbol "MAX_INI_ENTRY_TEXT") .pwn(115) : warning 202: number of arguments does not match definition .pwn(115) : warning 202: number of arguments does not match definition .pwn(115) : warning 202: number of arguments does not match definition .pwn(115) : warning 202: number of arguments does not match definition .pwn(170) : error 017: undefined symbol "Userpath" .pwn(173) : error 017: undefined symbol "Playerinfo" .pwn(173) : warning 215: expression has no effect .pwn(173) : error 001: expected token: ";", but found "]" .pwn(173) : error 029: invalid expression, assumed zero .pwn(173) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 5 Errors.
Код:
//167>> public OnPlayerDisconnect(playerid, reason) //168>> { //169>> plc--; //170>> new INI:File = INI_Open(Userpath(playerid)); //171>> INI_SetTag(File,"data"); //172>> INI_WriteInt(File,"Cash",GetPlayerMoney(playerid)); //173>> INI_WriteInt(File,"Admin",Playerinfo[playerid][pAdmin]); //174>> INI_WriteInt(File,"Score",Playerinfo[playerid][pScore]); //175>> INI_WriteInt(File,"Bankmoney",Playerinfo[playerid][pBankmoney]); //176>> INI_WriteInt(File,"Banned",Playerinfo[playerid][pBanned]); //177>> INI_Close(File); //178>> return 1; //179>> }