admin include problem
#3

like this ??

Код:
 #if defined _Aadmin_included
  #endinput
#endif
#define _Aadmin_included
#pragma library ladmin

#include <a_samp>
#include <YSI\y_ini>
#define name

#define PATH "/Users/%s.ini"



/*
================================================================================
-------------------------------------------------

Admin Include v0.10
©Armageddon@Rexz
-------------------------------------------------
================================================================================
*/

//==============================================================================
// Administration
//==============================================================================


stock PlayerInfo(playerid, pAdmin)
{
	new tmp;
	new string[128],playername[MAX_PLAYER_NAME];
	GetPlayerName(playerid,playername,sizeof(playername));
	format( string, sizeof(string),PATH,playername);
	INI_Int("Admin", tmp;);
	if((IsPlayerConnected(playerid)) && (tmp >= 1) && (tmp!= 0))
	return string;
	else return false;
}
Reply


Messages In This Thread
admin include problem - by Armageddonz - 09.06.2015, 07:59
Re: admin include problem - by SoFahim - 09.06.2015, 08:10
Re: admin include problem - by Armageddonz - 09.06.2015, 08:37
Re: admin include problem - by JaydenJason - 09.06.2015, 08:55
Re: admin include problem - by SoFahim - 09.06.2015, 08:55
Re: admin include problem - by Armageddonz - 09.06.2015, 09:07
Re: admin include problem - by Armageddonz - 09.06.2015, 09:12
Re: admin include problem - by mamorunl - 09.06.2015, 09:18
Re: admin include problem - by Armageddonz - 09.06.2015, 09:47
Re: admin include problem - by mamorunl - 09.06.2015, 09:54

Forum Jump:


Users browsing this thread: 1 Guest(s)