15.10.2011, 07:08
I know this is just a warning but when its something to do with account i just dont want there to be any bugs here is what i am getting.
Код:
C:\Users\GTA ONLY\Desktop\Server\Blank Gamemode\gamemodes\Blank.pwn(182) : warning 202: number of arguments does not match definition Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
Код:
{ new CString[50]; format(CString, sizeof(CString), "Player: %s(%d) has left the server!", pName(playerid), playerid); SendClientMessageToAll(COLOR_GREY, CString); new File[50]; format(File, sizeof(File), PFiles, pName(playerid)); GetPlayerPos(playerid, PVar[playerid][pLastX], PVar[playerid][pLastY], PVar[playerid][pLastZ]); GetPlayerMoney(playerid, PVar[playerid][pMoney]); //line 182 djSetInt (File, "Kills", PVar[playerid][pKills]); djSetInt (File, "Money", PVar[playerid][pMoney]); djSetInt (File, "Deaths", PVar[playerid][pDeaths]); djSetInt (File, "Level", PVar[playerid][pLevel]); djSetInt (File, "Muted", PVar[playerid][pMuted]); djSet (File, "MutedReason", PVar[playerid][pMutedReason]); djSetFloat (File, "LastX", PVar[playerid][pLastX]); djSetFloat (File, "LastY", PVar[playerid][pLastY]); djSetFloat (File, "LastZ", PVar[playerid][pLastZ]); return 1; }