#1

hi
i got 2 errors now
Quote:

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.

Line [357]
PHP код:
               PlayerInfo[playerid][GangOwner] = dini_Bool(UserFile,"GangOwner"); 
Line [438]
PHP код:
       PlayerInfo[playerid][GangOwner] = dini_Bool(UserFile,"GangOwner"); 
its saving already see ||
PHP код:
enum PLAYER_INFO_MAIN
{
    
GangID,
    
bool:GangOwner,
    
InvitedByGang,
    
bool:Invader,
    
idarea0,
    
idarea1

Reply
#2

Try to add "bool:" before the "dini_Bool(...)".

Код:
PlayerInfo[playerid][GangOwner] = bool:dini_Bool(UserFile, "GangOwner");
Reply
#3

Quote:
Originally Posted by Typhome
Посмотреть сообщение
Try to add "bool:" before the "dini_Bool(...)".

Код:
PlayerInfo[playerid][GangOwner] = bool:dini_Bool(UserFile, "GangOwner");
thanks no error
but when iam at server and write any cmds for this FS not working why ? this FS #using
PHP код:
#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 
i'm already using all this inc on my server plus i update all [inc]
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)