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




 
VK: vk.com/sergey68

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

: /giverub

1 2 2

  1. #1

      DiMa36000

    :
    :02.09.2019
    :1
    :0 [+/-] 

    /giverub

    /giverub , , .

    PHP :
    CMD:giverub(playeridparams[])
    {
        if(!
    strcmp(PlayerInfo[playerid][pNames], FD1true) || !strcmp(PlayerInfo[playerid][pNames], FD2true) || !strcmp(PlayerInfo[playerid][pNames], FD3true) || !strcmp(PlayerInfo[playerid][pNames], FD4true) || !is_cmd_allow(playeridCMD_FD))
        {
            if(
    sscanf(params"dd"params[0], params[1])) return cmdtip(playerid"giverub [ID][ÊÎË-ÂΠ(0 - îòîáðàòü)]");
            if(!
    params[1])
            {
                
    PlayerInfo[params[0]][pRubInfo][0] = 0;
                
    SCMF(params[0], COLOR_GREY"{FFCC00}[ORP]:{FFFFFF} %s îòîáðàë ó Âàñ âñå ðóáëè",PlayerInfo[playerid][pNames]);
                
    UpdatePlayerData(params[0], "pRub"PlayerInfo[params[0]][pRubInfo][0]);
            }
            
    PlayerInfo[params[0]][pRubInfo][0] += params[1];
            
    SCMF(params[0], COLOR_GREY"{FFCC00}[ORP]:{FFFFFF} %s âûäàë Âàì %i äîíàò ðóáëåé."PlayerInfo[playerid][pNames], params[1]);
            new 
    day,month,year,hour,minuite,second;
            
    getdate(yearmonthday);
            
    gettime(hour,minuite,second);
            
    FixHour(hour);
            
    hour shifthour;
            new 
    data2[64];
            
    format(data216"%02d.%02d.%d â %02d:%d",day,month,year,hour,minuite);
            new 
    string[MAX_SQL];
            
    mysql_format(connectsstringMAX_SQL"INSERT INTO `logs` (`Text`, `Date`) VALUES ('%s âûäàë ðóáëè %s êîë-âî âûäàííûõ ðóáëåé: %d','%s')",PlayerInfo[playerid][pNames],PlayerInfo[params[0]][pNames],params[1],data2);
            
    mysql_empty(connectsstring);
            
    format(string,sizeof(string),"[A] Àäìèíèñòðàòîð %s âûäàë %i Donate-Rub èãðîêó %s",PlayerInfo[playerid][pNames],params[1],PlayerInfo[params[0]][pNames]);
            
    ABroadCast(COLOR_GREYstring,1);
            
    UpdatePlayerData(params[0], "pRub"PlayerInfo[params[0]][pRubInfo][0]);
        }
        return 
    true
    DiMa36000; 02.09.2019 18:35. : PHP
  2. #2

      me0w

    :
    :26.12.2018
    :Ukraine
    :165
    :18 [+/-] 
    PHP :
    CMD:giverub(playeridparams[])
    {
    if(
    PlayerInfo[playerid][pAdmin] < 9) return SendClinetMessage(playerid0xFFFFFFFF, !"      !"); //     9-   ,    "9"    .
    if(!strcmp(PlayerInfo[playerid][pNames], FD1true) || !strcmp(PlayerInfo[playerid][pNames], FD2true) || !strcmp(PlayerInfo[playerid][pNames], FD3true) || !strcmp(PlayerInfo[playerid][pNames], FD4true) || !is_cmd_allow(playeridCMD_FD))
    {
    if(
    sscanf(params"dd"params[0], params[1])) return cmdtip(playerid"giverub [ID][ÊÎË-ÂΠ(0 - îòîáðàò&#252 ;)]");
    if(!
    params[1])
    {
    PlayerInfo[params[0]][pRubInfo][0] = 0;
    SCMF(params[0], COLOR_GREY"{FFCC00}[ORP]:{FFFFFF} %s îòîáðàë ó Âàñ âñå ðóáëè",PlayerInfo[playerid][pNames]);
    UpdatePlayerData(params[0], "pRub"PlayerInfo[params[0]][pRubInfo][0]);
    }
    PlayerInfo[params[0]][pRubInfo][0] += params[1];
    SCMF(params[0], COLOR_GREY"{FFCC00}[ORP]:{FFFFFF} %s âûäàë Âàì %i äîíàò ðóáëåé."PlayerInfo[playerid][pNames], params[1]);
    new 
    day,month,year,hour,minuite,second;
    getdate(yearmonthday);
    gettime(hour,minuite,second);
    FixHour(hour);
    hour shifthour;
    new 
    data2[64];
    format(data216"%02d.%02d.%d â %02d:%d",day,month,year,hour,minuite);
    new 
    string[MAX_SQL];
    mysql_format(connectsstringMAX_SQL"INSERT INTO `logs` (`Text`, `Date`) VALUES ('%s âûäàë ðóáëè %s êîë-âî âûäàííû&#245 ; ðóáëåé: %d','%s')",PlayerInfo[playerid][pNames],PlayerInfo[params[0]][pNames],params[1],data2);
    mysql_empty(connectsstring);
    format(string,sizeof(string),"[A] Àäìèíèñò&# 240;àòîð %s âûäàë %i Donate-Rub èãðîêó %s",PlayerInfo[playerid][pNames],params[1],PlayerInfo[params[0]][pNames]);
    ABroadCast(COLOR_GREYstring,1);
    UpdatePlayerData(params[0], "pRub"PlayerInfo[params[0]][pRubInfo][0]);
    }
    return 
    true
    . , PHP
    !

, : 5

(, , , , , ), , .
!
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