[Ajuda] Problema com fexist
#1

Код:
			new st[128];
			format(st,sizeof(st),"Gangs\%d.ini",arrayPlayer[playerid][PGang]);
			if(fexist(st))
			{
		    	if(arrayPlayer[playerid][PGang] > 0)
  				{
  					SetPlayerColor(playerid, GangCores[arrayPlayer[playerid][PGang]]);
					playerGang[playerid] = arrayPlayer[playerid][PGang];
				}
			}
			else
			{
				new zarquivo[128];
			    format(zarquivo,128, "Contas/%s.ini", pName);
		        new INI:zpConta = INI_Open(zarquivo);
			    INI_WriteInt(zpConta,"Gang",0);
			    INI_WriteInt(zpConta,"GangCargo",299);
			    INI_Close(zpConta);
			}
oque hб nesse cуdigo, que o mesmo o usuбrio tendo gang, ele executa o else?
Reply


Messages In This Thread
[Ajuda] Problema com fexist - by cotonete - 17.10.2011, 21:36
Re: [Ajuda] Problema com fexist - by Josma_cmd - 17.10.2011, 21:39

Forum Jump:


Users browsing this thread: 1 Guest(s)