! - . . , , . , , , (, ) . !




 
VK: vk.com/sergey68

76890 - 1000,46860 - 500, 300
** V.I.P --> **

: " " (mxINI)

11 20 21

  1. #11

      Pa4enka

    :
    :26.05.2017
    :,
    :130
    :9 [+/-] 
    Ban ?

    PHP :
    ini_getInteger(iniFile,"Ban"p_info[playerid][p_ban]);
    printf("\n: %d\n"p_info[playerid][p_ban]);
    if(  
    p_info[playerid][p_ban )
            return 
    Kick(playerid); 
    .
    dev: g-rp.su
  2. #12

      canyosha

    :
    :07.09.2019
    :13
    :0 [+/-] 
    Ban ?

    PHP :
    ini_getInteger(iniFile,"Ban"p_info[playerid][p_ban]);
    printf("\n: %d\n"p_info[playerid][p_ban]);
    if(  
    p_info[playerid][p_ban )
            return 
    Kick(playerid); 
    .
    , Ban :
    ( ):
    :
    Pass = lol
    Cash = 5000
    Admin = 0
    Ban = 1
    ---

    OnPlayerConnect( ):

    :
    	new account[37];
    	format(account,sizeof(account),"users/%s.ini",pNick(playerid));
    	new iniFile = ini_openFile(account);
        ini_getInteger(iniFile,"Ban", p_info[playerid][p_ban]);
    	printf("\n: %d\n", p_info[playerid][p_ban]);
    	if(  p_info[playerid][p_ban] )
        return Kick(playerid);
    :

    [16:17:59] [connection] 127.0.0.1:63820 requests connection cookie.
    [16:18:00] [connection] incoming connection: 127.0.0.1:63820 id: 0
    [16:18:00] [join] Babuleh has joined the server (0:127.0.0.1)
    [16:18:00]
    : 0

    stock OnPlayerLogin ():

    :
    stock OnPlayerLogin(playerid)
    {
    	new account[37];
    	format(account,sizeof(account),"users/%s.ini",pNick(playerid));
    	new iniFile = ini_openFile(account);
    	ini_getString(iniFile,"Pass", p_info[playerid][p_password],64);
    	ini_getInteger(iniFile, "Cash", p_info[playerid][p_money]);
    	ini_getInteger(iniFile, "Admin", p_info[playerid][p_admin]);
    	ini_getInteger(iniFile, "Ban", p_info[playerid][p_ban]);
    	printf("\n: %d\n", p_info[playerid][p_ban]);
    	if(  p_info[playerid][p_ban] )
        return Kick(playerid);
    	ini_closeFile(iniFile);
    	ResetPlayerCashAC(playerid);
    	GivePlayerCashAC(playerid, p_info[playerid][p_money]);
    	p_info[playerid][p_logged]=true;
    	return 1;
    }

    :

    [16:23:04] [join] Babuleh has joined the server (0:127.0.0.1)

    //

    [16:23:06]
    : 1

    [16:23:06] [part] Babuleh has left the server (0:2)
  3. #13

      canyosha

    :
    :07.09.2019
    :13
    :0 [+/-] 
  4. #14
    V.I.P

      gangzone.ini

    :
    :21.05.2015
    :570
    :265 [+/-] 
    OnPlayerConnect

    PHP :
    new account[37];
    format(account,sizeof(account),"users/%s.ini",pNick(playerid));
    printf("Name: %s"pNick(playerid));
    new 
    iniFile ini_openFile(account);
    ini_getInteger(iniFile,"Ban"p_info[playerid][p_ban]);
    printf("\n: %d\n"p_info[playerid][p_ban]);
    if(  
    p_info[playerid][p_ban] ) return Kick(playerid); 
    -
  5. #15

      canyosha

    :
    :07.09.2019
    :13
    :0 [+/-] 
    OnPlayerConnect

    PHP :
    new account[37];
    format(account,sizeof(account),"users/%s.ini",pNick(playerid));
    printf("Name: %s"pNick(playerid));
    new 
    iniFile ini_openFile(account);
    ini_getInteger(iniFile,"Ban"p_info[playerid][p_ban]);
    printf("\n: %d\n"p_info[playerid][p_ban]);
    if(  
    p_info[playerid][p_ban] ) return Kick(playerid); 

    [18:13:35] [connection] 127.0.0.1:55355 requests connection cookie.
    [18:13:36] [connection] incoming connection: 127.0.0.1:55355 id: 0
    [18:13:37] [join] Babuleh has joined the server (0:127.0.0.1)
    [18:13:37] Name:
    [18:13:37]
    : 0

    ( )
  6. #16

      Pa4enka

    :
    :26.05.2017
    :,
    :130
    :9 [+/-] 
    OnPlayerConnect pNick. , pastebin .
    dev: g-rp.su
  7. #17

      canyosha

    :
    :07.09.2019
    :13
    :0 [+/-] 
    OnPlayerConnect pNick. , pastebin .
    https://pastebin.com/bq45HF71



    OnPlayerConnect:
    :
    public OnPlayerConnect(playerid)
    {
        CashAC[playerid]=0;
      	Removee_PLAYER_INFO(playerid);
    	GetPlayerName(playerid,p_info[playerid][p_name],MAX_PLAYER_NAME);
    	new account[37];
    	format(account,sizeof(account),"users/%s.ini",pNick(playerid));
    	
    	if(!fexist(account))
    	{
    		ShowPlayerDialog(playerid,0,DIALOG_STYLE_INPUT, "", "    !\n,   :", "", "");
    	}
    	else if(fexist(account))
    	{
    		ShowPlayerDialog(playerid,1,DIALOG_STYLE_INPUT, "", "   !\n,   :", "", "");
    	}
    
    	new str[128];
    
    	for(new players;players<MAX_PLAYERS;players++)
    	{
    		if(players==playerid) continue;
    		GetPlayerName(playerid, str, 50);
    		format(str,sizeof(str),"{9BFF94} {FF8686}%s {9BFF94}  ",str);
    		SendClientMessage(players,-1,str);
    	}
    
    	//Random Nick Color
    	SetPlayerColor(playerid,playerColors[random(sizeof(playerColors))]);
    
    	SetTimerEx("TimerWelcome", 500, false, "d", playerid);
    
    	//Anti Flood
    	IsMessageSent[playerid] = 0;
    	return 1;
    }
    pNick:

    define

    :
    #define pNick(%1)      p_info[%1][p_name]
    ONDIALOGRESPONCE

    :
        if(dialogid == 0)
        {
            if(!response) return Kick(playerid);
            else if(response)
            {
                if(!strlen(inputtext)) return ShowPlayerDialog(playerid, 0, DIALOG_STYLE_INPUT, "", "   !\n    :", "", "");
                new account[37];
                format(account,sizeof(account),"users/%s.ini",pNick(playerid)); //<<<<<<<<<<<<<<<<<<<<<<<
                if(fexist(account)) return ShowPlayerDialog(playerid,1,DIALOG_STYLE_INPUT, "", "   !\n,   :", "", "");
                else return CreateAccount(playerid, inputtext);
            }
        }
        else if(dialogid == 1)
        {
            if(!response) return Kick(playerid);
            else if(response)
            {
                if(!strlen(inputtext)) return ShowPlayerDialog(playerid, 1, DIALOG_STYLE_INPUT, "", "   !\n,   :", "", "");
                new account[37];
                format(account,sizeof(account),"users/%s.ini",pNick(playerid)); //<<<<<<<<<<<<<<<<<<<<<<<<<<
                if(!fexist(account)) return ShowPlayerDialog(playerid,0,DIALOG_STYLE_INPUT, "", "    !\n,   :", "", "");
                else
                {
                    new password[64];
                    new iniFile = ini_openFile(account);
                    ini_getString(iniFile, "Pass",password);
                    ini_closeFile(iniFile);
                    if(!strcmp(inputtext, password, true)) return OnPlayerLogin(playerid);
                    else return ShowPlayerDialog(playerid, 1, DIALOG_STYLE_INPUT, "", "   !\n :", "", "");
                }
            }
        }
    :

    :
    stock CreateAccount(playerid, password[])
    {
        new account[37];
        format(account,sizeof(account),"users/%s.ini",pNick(playerid)); //<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
        if(fexist(account)) return ShowPlayerDialog(playerid,1,DIALOG_STYLE_INPUT, "", "  .  :", "", "");
     new iniFile = ini_createFile(account);
        if(iniFile < 0) ini_openFile (account);
        {
            ini_setString(iniFile,"Pass",password);
            ini_setInteger(iniFile, "Cash", 5000);
            ini_setInteger(iniFile, "Kills", 0);
            ini_setInteger(iniFile, "Deaths", 0);
            ini_setInteger(iniFile, "Admin", 0);
            ini_setInteger(iniFile, "Ban", 0);
            ini_closeFile(iniFile);
            OnPlayerLogin(playerid);
        }
        return 1;
    }
     
    stock OnPlayerLogin(playerid)
    {
        new account[37];
        format(account,sizeof(account),"users/%s.ini",pNick(playerid)); //<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
        new iniFile = ini_openFile(account);
        ini_getString(iniFile,"Pass", p_info[playerid][p_password],64);
        ini_getInteger(iniFile, "Cash", p_info[playerid][p_money]);
        ini_getInteger(iniFile, "Kills", p_info[playerid][p_kills]);
        ini_getInteger(iniFile, "Deaths", p_info[playerid][p_deaths]);
        ini_getInteger(iniFile, "Admin", p_info[playerid][p_admin]);
        ini_getInteger(iniFile, "Ban", p_info[playerid][p_ban]);
        ini_closeFile(iniFile);
        if(p_info[playerid][p_ban]== 1) return Kick(playerid);
        SetPlayerScore(playerid, p_info[playerid][p_kills]);
        ResetPlayerCashAC(playerid);
        GivePlayerCashAC(playerid, p_info[playerid][p_money]);
        p_info[playerid][p_logged]=true;
        return 1;
    }
     
    stock SavePlayer(playerid)
    {
        if(p_info[playerid][p_logged]==false) return 1;
        new account[37];
        format(account,sizeof(account),"users/%s.ini",pNick(playerid)); //<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
        new iniFile = ini_openFile(account);
        ini_setString(iniFile, "Pass", p_info[playerid][p_password]);
        p_info[playerid][p_money] = GetPlayerCashAC(playerid);
        ini_setInteger(iniFile, "Cash", p_info[playerid][p_money]);
        p_info[playerid][p_kills] = GetPlayerScore(playerid);
        ini_setInteger(iniFile, "Kills", p_info[playerid][p_kills]);
        ini_setInteger(iniFile, "Deaths", p_info[playerid][p_deaths]);
        ini_setInteger(iniFile, "Admin", p_info[playerid][p_admin]);
        ini_setInteger(iniFile, "Ban", p_info[playerid][p_ban]);
        ini_closeFile(iniFile);
        return 1;
    }
    []
  8. #18

      Pa4enka

    :
    :26.05.2017
    :,
    :130
    :9 [+/-] 

    PHP :
    public OnPlayerConnect(playerid)
    {
        
    CashAC[playerid]=0;
        
    Removee_PLAYER_INFO(playerid);
        
    GetPlayerName(playerid,p_info[playerid][p_name],MAX_PLAYER_NAME);
        
        new 
    account[37];
        
    format(account,sizeof(account),"users/%s.ini",pNick(playerid));

        if(!
    fexist(account)) {

            
    ShowPlayerDialog(playerid,0,DIALOG_STYLE_INPUT, !""
                !
    "    !\n,   :"
            !
    "", !"");
        }
        else if(
    fexist(account))
        {
            
    ini_getInteger(iniFile,"Ban"p_info[playerid][p_ban]);
            
    printf("\n: %d\n"p_info[playerid][p_ban]);
            if(  
    p_info[playerid][p_ban] )
                return 
    Kick(playerid);
            
            
    ShowPlayerDialog(playerid,1,DIALOG_STYLE_INPUT, !""
                !
    "   !\n,   :"
            !
    "", !"");
        }

        new 
    str[128];
        for(new 
    players;players<MAX_PLAYERS;players++)
        {
            if(
    players==playerid)
                continue;
        
            
    format(str,sizeof(str),"{9BFF94} {FF8686}%s {9BFF94}  "pNick(playerid));
            
    SendClientMessage(players, -1str);
        }

        
    //Random Nick Color
        
    SetPlayerColor(playerid,playerColors[random(sizeof(playerColors))]);

        
    SetTimerEx("TimerWelcome"500false"d"playerid);

        
    //Anti Flood
        
    IsMessageSent[playerid] = 0;
        return 
    1;

    []
    dev: g-rp.su
  9. #19

      canyosha

    :
    :07.09.2019
    :13
    :0 [+/-] 

    PHP :
    public OnPlayerConnect(playerid)
    {
        
    CashAC[playerid]=0;
        
    Removee_PLAYER_INFO(playerid);
        
    GetPlayerName(playerid,p_info[playerid][p_name],MAX_PLAYER_NAME);
        
        new 
    account[37];
        
    format(account,sizeof(account),"users/%s.ini",pNick(playerid));

        if(!
    fexist(account)) {

            
    ShowPlayerDialog(playerid,0,DIALOG_STYLE_INPUT, !""
                !
    "    !\n,   :"
            !
    "", !"");
        }
        else if(
    fexist(account))
        {
            
    ini_getInteger(iniFile,"Ban"p_info[playerid][p_ban]);
            
    printf("\n: %d\n"p_info[playerid][p_ban]);
            if(  
    p_info[playerid][p_ban] )
                return 
    Kick(playerid);
            
            
    ShowPlayerDialog(playerid,1,DIALOG_STYLE_INPUT, !""
                !
    "   !\n,   :"
            !
    "", !"");
        }

        new 
    str[128];
        for(new 
    players;players<MAX_PLAYERS;players++)
        {
            if(
    players==playerid)
                continue;
        
            
    format(str,sizeof(str),"{9BFF94} {FF8686}%s {9BFF94}  "pNick(playerid));
            
    SendClientMessage(players, -1str);
        }

        
    //Random Nick Color
        
    SetPlayerColor(playerid,playerColors[random(sizeof(playerColors))]);

        
    SetTimerEx("TimerWelcome"500false"d"playerid);

        
    //Anti Flood
        
    IsMessageSent[playerid] = 0;
        return 
    1;

    []
    error 017: undefined symbol "iniFile"



    :
        else if(fexist(account))
        {
    		format(account,sizeof(account),"users/%s.ini",pNick(playerid));
    		new iniFile = ini_openFile(account);
            ini_getInteger(iniFile,"Ban", p_info[playerid][p_ban]);
            printf("\n: %d\n", p_info[playerid][p_ban]);
            if(  p_info[playerid][p_ban] )
                return Kick(playerid);
    
            ShowPlayerDialog(playerid,1,DIALOG_STYLE_INPUT, !"",
                !"   !\n,   :",
            !"", !"");
        }
    - ,
    ,

    // (Ban = 1)
    [22:44:37] [connection] 127.0.0.1:65466 requests connection cookie.
    [22:44:38] [connection] incoming connection: 127.0.0.1:65466 id: 0
    [22:44:38] [join] Babuleh has joined the server (0:127.0.0.1)
    [22:44:38]
    : 1
    [22:44:38] [part] Babuleh has left the server (0:2)

    // (Ban = 0)
    [22:45:06] [connection] 127.0.0.1:65474 requests connection cookie.
    [22:45:07] [connection] incoming connection: 127.0.0.1:65474 id: 0
    [22:45:07] [join] Kenneth has joined the server (0:127.0.0.1)
    [22:45:07]
    : 0
    []


    , ini Ban 1, ?
    , ...[p_ban] =1 -
    canyosha; 18.09.2019 22:57.
  10. #20

      Pa4enka

    :
    :26.05.2017
    :,
    :130
    :9 [+/-] 
    , . , .

    , == 1.
    dev: g-rp.su

, : 40

100, 1000, , , , ban, , , , , , , , , include, info, , , money, mxini, , pawno, playerid, text,

(, , , , , ), , .
!
samp-rp advanvce pawn s0beit cs 1.6 0.3x World of Tanks samp-rp, samp-rp, - PAWNO SA-MP IV-MP MTA cleo s0beit sobeit sa-mp sa-mp pawno pawno pawno iv-mp iv-mp iv-mp godfather SAMP gta 4 4 GTA 4 GTA 4 GTA 4 SAMP SAMP Pen1 LS Pen1 Fugitive The Godfather rp roleplay samp-rp sa-mp sa-mp pawno gta-iv gta-v gta-sa gta-3 gta-III gta-4 gta-5 gta-vc mta mta-dm mta-race mta-sa pawno info ru pawno pawno gta-iv gta-iv gta-v gta-v gta-iv keygen gta sa gta 4 multiplayer gta san adnreas multiplayer sa-mp forum sa-mp pawno sa-mp pawno sa-mp gta-sa pawno pawno errors sa-mp 0.3c SA-MP 0.3d 4 GTA 4 GTA 4 GTA 4 SAMP SAMP Pen1 LS Pen1 Fugitive The Godfather SAMP hack rat android instagram twitter ddos root linux ubuntu mac android advance arizona 4g