[Ajuda] dof2 :\
#1

Galera botei isso na OnPlayerConect do meu sv, pra ler o arquivo dentro da pasta admins, dai seta o play pra admin se ele for um, mas ta dando warning.

pawn Код:
ASystem[playerid][Admin] = DOF2_GetInt(Admins(playerid), "Admin");
E nгo sei se vai dar certo.


pawn Код:
C:\Users\Lucas\Desktop\samp03z_svr_R1_win32\gamemodes\SDA.pwn(78) : warning 213: tag mismatch
Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


1 Warning.
no comando de dar admin pro player eu botei assim :

pawn Код:
DOF2_SetInt(Admins(playerid), "Admin", ASystem[playerid][Admin]);
o que ta errado ?
e outra, o arquivo na pasta Admins nгo estб sendo criado n sei pq.

fiz assim :

pawn Код:
stock Admins(playerid)
{
    new arquivo[40], name[MAX_PLAYER_NAME];
    GetPlayerName(playerid, name, 32);
    format(arquivo, 40, "Admins/%s.ini", name);
    return arquivo;
}
Reply


Messages In This Thread
dof2 :\ - by Duun - 15.07.2014, 15:25
Re: dof2 :\ - by Duun - 15.07.2014, 15:34
Re: dof2 :\ - by silenthill - 15.07.2014, 15:52
Re: dof2 :\ - by dPlaYer_ - 16.07.2014, 15:15

Forum Jump:


Users browsing this thread: 2 Guest(s)