D:\samp\filterscripts\GangDK96_3-1-2.pwn(357) : warning 213: tag mismatch D:\samp\filterscripts\GangDK96_3-1-2.pwn(43 : warning 213: tag mismatch Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 2 Warnings. |
PlayerInfo[playerid][GangOwner] = dini_Bool(UserFile,"GangOwner");
PlayerInfo[playerid][GangOwner] = dini_Bool(UserFile,"GangOwner");
enum PLAYER_INFO_MAIN
{
GangID,
bool:GangOwner,
InvitedByGang,
bool:Invader,
idarea0,
idarea1
}
PlayerInfo[playerid][GangOwner] = bool:dini_Bool(UserFile, "GangOwner");
Try to add "bool:" before the "dini_Bool(...)".
Код:
PlayerInfo[playerid][GangOwner] = bool:dini_Bool(UserFile, "GangOwner"); |
#define FILTERSCRIPT
#include <a_samp>
#include <streamer>
#include <Dini>
#include <sscanf2>
#define dcmd(%1,%2,%3) if ((strcmp((%3)[1], #%1, true, (%2)) == 0) && ((((%3)[(%2) + 1] == 0) && (dcmd_%1(playerid, "")))||(((%3)[(%2) + 1] == 32) && (dcmd_%1(playerid, (%3)[(%2) + 2]))))) return 1