[Ajuda] dof2 :\
#4

Quote:
Originally Posted by Duun
Посмотреть сообщение
no comando de dar admin pro player eu botei assim :

pawn Код:
DOF2_SetInt(Admins(playerid), "Admin", ASystem[playerid][Admin]);
Usava stock pra checar arquivos, na maioria das vezes ele falhava.

Entгo recomendo usar assim:

pawn Код:
new str[64], name;
GetPlayerName(playerid, name, 32);
format(str, sizeof(str), "Admins/%s.ini", name);
DOF2_SetInt(str, "Admin", ASystem[playerid][Admin]);
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: 1 Guest(s)