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




 
VK: vk.com/sergey68

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

: [] RLS ( )

1 10 55

  1. #1

      S-WORLD

    :
    :12.11.2011
    :.
    :46
    :13 [+/-] 

    [] RLS ( )

    , RLS, . , , , , , , .
    , RLS , .

    , , !

    :
    1

    pInfo :
    PHP :
    pCredit,pCreditSrok 
    , , , ( )

    2


    public OnPlayerLogin(playerid,password[]) :
    PHP :
    ini_getInteger(File,"",PlayerInfo[playerid][pCredit]);
    ini_getInteger(File," ",PlayerInfo[playerid][pCreditSrok]); 
    - pCredit

    3

    , (ini_getInteger), (ini_setInteger).
    public OnPlayerRegister(playerid, password[]) :
    PHP :
    ini_setInteger(File,"",PlayerInfo[playerid][pCredit]);
    ini_setInteger(File," ",PlayerInfo[playerid][pCreditSrok]); 
    - pCredit pCreditSrok ( 0, , ).

    4

    public OnPlayerUpdateRL(playerid) :
    PHP :
    ini_setInteger(File,"",PlayerInfo[playerid][pCredit]);
    ini_setInteger(File," ",PlayerInfo[playerid][pCreditSrok]); 
    - pCredit ( 1, 2 ., , ) .


    , , .

    5

    :
    public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
    PHP :
    case 1111//   ,   .    
    {                  
     if(
    response)            
    {                         
    switch(
    listitem)                                  
     {                                    
    case 
    0//         (    300.000 )
    {                                     
    PlayerInfo[playerid][pCreditSrok] = 30//  pCredit  30 (30  )
    PlayerInfo[playerid][pCredit] = 1//  pCredit  1 (   1 )
    PlayerInfo[playerid][pCash] += 300000//  ,    
    SendClientMessage(playerid,COLOR_WHITE,"     300.000."); //   
    }                                     
    case 
    1//         (    1.000.000)
    {                                    
    PlayerInfo[playerid][pCredit] = 2//  pCredit  2 (   2 )
    PlayerInfo[playerid][pCreditSrok] = 40//  pCredit  40 (40  )
    PlayerInfo[playerid][pCash] += 1000000//  ,    
    SendClientMessage(playerid,COLOR_WHITE,"     1.000.000."); //   
    }                                     
    case 
    2//         (    5.000.000)
    {                                     
    PlayerInfo[playerid][pCredit] = 3//  pCredit  3 (   3 )
    PlayerInfo[playerid][pCreditSrok] = 50//  pCredit  50 (    30, 40)
    PlayerInfo[playerid][pCash] += 5000000//  ,    
    SendClientMessage(playerid,COLOR_WHITE,"     5.000.000."); //   
    }
    }
    return 
    1;
    }

    , ( , ). :
    PHP :
    ShowPlayerDialog(playerid1111DIALOG_STYLE_LIST" ""- 300.000 ( 3.000  PayDay)  \n- 1.000.000 ( 5.000  PayDay \n- 5.000.000 ( 10.000  PayDay)"""""); 
    3 , 1111 ( , case ( case 3:) ShowPlayerDialog(playerid, 1111 , \n ( ).

    6

    ().
    public PayDay() } { ( , , ) :

    PHP :
    if(PlayerInfo[i][pCreditSrok] >= && PlayerInfo[i][pCredit] == 1)    //      300.000
    {
    format(stringsizeof(string), "****  : -3000 "); //    PayDay
    SendClientMessage(iCOLOR_LIGHTREDstring);
    PlayerInfo[i][pBank] -= 3000//        pBank  pCash
    PlayerInfo[i][pCreditSrok] -= 1//   1   PayDay,     0
    }
    if(
    PlayerInfo[i][pCreditSrok] >= && PlayerInfo[i][pCredit] == 2)    //      1.000.000
    {
    format(stringsizeof(string), "****  : -5000 "); //    PayDay
    SendClientMessage(iCOLOR_LIGHTREDstring);
    PlayerInfo[i][pBank] -= 5000//        pBank  pCash
    PlayerInfo[i][pCreditSrok] -= 1//   1   PayDay,     0
    }
    if(
    PlayerInfo[i][pCreditSrok] >= && PlayerInfo[i][pCredit] == 3)    //      5.000.000
    {                      
    format(stringsizeof(string), "****  : -10000 "); //    PayDay                    
    SendClientMessage(iCOLOR_LIGHTREDstring);
    PlayerInfo[i][pBank] -= 10000//        pBank  pCash
    PlayerInfo[i][pCreditSrok] -= 1//   1   PayDay,     0
    }
    if(
    PlayerInfo[i][pCreditSrok] == && PlayerInfo[i][pCredit] >= 0)    //   
    {
    format(stringsizeof(string), "****   "); //    PayDay
    SendClientMessage(iCOLOR_LIGHTREDstring);
    PlayerInfo[i][pCredit] = 0//   
    PlayerInfo[i][pCreditSrok] = 0//   

    , ? 3 , (, ).

    , .

    PHP :
    case 1111//   ,   .    
    {                   
    if(
    response)            
    {                        
    if(
    PlayerInfo[playerid][pCreditSrok] >= && PlayerInfo[playerid][pCredit] == 1)    //      300.000
    {
    format(stringsizeof(string), "   : -3000 "); //    PayDay
    SendClientMessage(playeridCOLOR_LIGHTREDstring);
    PlayerInfo[playerid][pBank] -= 3000//        pBank  pCash
    PlayerInfo[playerid][pCreditSrok] -= 1//   1   PayDay,     0
    }
    if(
    PlayerInfo[playerid][pCreditSrok] >= && PlayerInfo[playerid][pCredit] == 2)    //      1.000.000                    
    {                      
    format(stringsizeof(string), "   : -5000 "); //    PayDay
    SendClientMessage(playeridCOLOR_LIGHTREDstring);
    PlayerInfo[playerid][pBank] -= 5000//        pBank  pCash
    PlayerInfo[playerid][pCreditSrok] -= 1//   1   PayDay,     0
    }
    if(
    PlayerInfo[playerid][pCreditSrok] >= && PlayerInfo[playerid][pCredit] == 3)    //      5.000.000
    {                      
    format(stringsizeof(string), "   : -10000 "); //    PayDay                    
    SendClientMessage(playeridCOLOR_LIGHTREDstring);
    PlayerInfo[playerid][pBank] -= 10000//        pBank  pCash
    PlayerInfo[playerid][pCreditSrok] -= 1//   1   PayDay,     0
    }
    if(
    PlayerInfo[playerid][pCreditSrok] == && PlayerInfo[playerid][pCredit] >= 0)    //   
    {
    format(stringsizeof(string), "****   "); //    PayDay
    SendClientMessage(playeridCOLOR_LIGHTREDstring);
    PlayerInfo[playerid][pCredit] = 0//   
    PlayerInfo[playerid][pCreditSrok] = 0//   
    }
    if(
    PlayerInfo[playerid][pCreditSrok] == && PlayerInfo[playerid][pCredit] == 0)    //   
    {
    format(stringsizeof(string), "       ."); //    PayDay
    SendClientMessage(playeridCOLOR_WHITEstring);
    }
    else
    {
    return 
    1;
    }
    }

    , :

    PHP :
    ShowPlayerDialog(playerid1111DIALOG_STYLE_MSGBOX" ""  \n ?"""""); 
    - 1111 id

    . !
    S-WORLD; 29.03.2012 03:04. : , , !
    , , !


    :

    [] RLS
  2. 10 c S-WORLD :

    Dima_Alonso (07.03.2012), Dior_Sergelik (07.03.2012), Flasher dock (03.04.2012), Flest (29.03.2012), gtashnik_schitom (01.05.2012), Hastemans (21.03.2012), Skinni (07.03.2012), Sportik (07.03.2012), Tupac (09.04.2012), [MarKizzz] (07.03.2012)

  3. #2

      Dior_Sergelik

    :
    :05.03.2012
    :409
    :45 [+/-] 
    ! ! !
  4. #3

      Niko Vincente

    :
    :10.12.2011
    :NINO | 52 | RUS
    :1,089
    :378 [+/-] 
    Dior, , .. =]
  5. #4

      Skinni

    :
    :11.09.2011
    :
    :592
    :286 [+/-] 
    . "+"
  6. 1 c Skinni :

    James_Braga (13.04.2012)

  7. #5

      S-WORLD

    :
    :12.11.2011
    :.
    :46
    :13 [+/-] 
    , , , , .
  8. 1 c S-WORLD :

    Dior_Sergelik (07.03.2012)

  9. #6

      Dior_Sergelik

    :
    :05.03.2012
    :409
    :45 [+/-] 
    Dior, , .. =]
    !

    ---------- Post added at 19:24 ---------- Previous post was at 19:22 ----------

    , , , , .
    ? 6?
    ?
    D:\Users\ \Desktop\Rezone-rp v7.7\gamemodes\Dimba.pwn(3293) : warning 209: function "Money" should return a value
    D:\Users\ \Desktop\Rezone-rp v7.7\gamemodes\Dimba.pwn(5323) : error 017: undefined symbol "i"
    D:\Users\ \Desktop\Rezone-rp v7.7\gamemodes\Dimba.pwn(5329) : error 017: undefined symbol "i"
    D:\Users\ \Desktop\Rezone-rp v7.7\gamemodes\Dimba.pwn(5335) : error 017: undefined symbol "i"
    D:\Users\ \Desktop\Rezone-rp v7.7\gamemodes\Dimba.pwn(5338) : error 002: only a single statement (or expression) can follow each "case"
    D:\Users\ \Desktop\Rezone-rp v7.7\gamemodes\Dimba.pwn(5385) : error 014: invalid statement; not in switch
    D:\Users\ \Desktop\Rezone-rp v7.7\gamemodes\Dimba.pwn(5385) : warning 215: expression has no effect
    D:\Users\ \Desktop\Rezone-rp v7.7\gamemodes\Dimba.pwn(5385) : error 001: expected token: ";", but found ":"
    D:\Users\ \Desktop\Rezone-rp v7.7\gamemodes\Dimba.pwn(5385) : error 029: invalid expression, assumed zero
    D:\Users\ \Desktop\Rezone-rp v7.7\gamemodes\Dimba.pwn(5385) : fatal error 107: too many error messages on one line

    Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


    8 Errors.
  10. #7

      S-WORLD

    :
    :12.11.2011
    :.
    :46
    :13 [+/-] 
    , , , ,
  11. #8

      kyller

    :
    :05.11.2011
    :Pawno-Info.ru
    :1,665
    :248 [+/-] 
    . .
  12. #9

      S-WORLD

    :
    :12.11.2011
    :.
    :46
    :13 [+/-] 
    PHP :
    if(!NoNalog(i))
                        {
                          
    format(stringsizeof(string), "***  : -100 ");
                        
    SendClientMessage(iCOLOR_LIGHTREDstring);
                        
    PlayerInfo[i][pBank] -= 100;
                        } 
    } 6
  13. #10

      Dior_Sergelik

    :
    :05.03.2012
    :409
    :45 [+/-] 
    PHP :
    if(!NoNalog(i))
                        {
                          
    format(stringsizeof(string), "***  : -100 ");
                        
    SendClientMessage(iCOLOR_LIGHTREDstring);
                        
    PlayerInfo[i][pBank] -= 100;
                        } 
    } 6
    :
    D:\Users\ \Desktop\Rezone-rp v7.7\gamemodes\Dimba.pwn(3293) : warning 209: function "Money" should return a value
    D:\Users\ \Desktop\Rezone-rp v7.7\gamemodes\Dimba.pwn(5324) : error 017: undefined symbol "i"
    D:\Users\ \Desktop\Rezone-rp v7.7\gamemodes\Dimba.pwn(5330) : error 017: undefined symbol "i"
    D:\Users\ \Desktop\Rezone-rp v7.7\gamemodes\Dimba.pwn(5336) : error 017: undefined symbol "i"
    D:\Users\ \Desktop\Rezone-rp v7.7\gamemodes\Dimba.pwn(5339) : error 002: only a single statement (or expression) can follow each "case"
    D:\Users\ \Desktop\Rezone-rp v7.7\gamemodes\Dimba.pwn(5386) : error 014: invalid statement; not in switch
    D:\Users\ \Desktop\Rezone-rp v7.7\gamemodes\Dimba.pwn(5386) : warning 215: expression has no effect
    D:\Users\ \Desktop\Rezone-rp v7.7\gamemodes\Dimba.pwn(5386) : error 001: expected token: ";", but found ":"
    D:\Users\ \Desktop\Rezone-rp v7.7\gamemodes\Dimba.pwn(5386) : error 029: invalid expression, assumed zero
    D:\Users\ \Desktop\Rezone-rp v7.7\gamemodes\Dimba.pwn(5386) : fatal error 107: too many error messages on one line

    Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


    8 Errors.


    ---------- Post added at 19:36 ---------- Previous post was at 19:34 ----------

    new i; 5 ! ?

    ---------- Post added at 19:37 ---------- Previous post was at 19:36 ----------

    new i; 5 ! ?

, : 6

, , ., amp, , , , ?, , , , edm, , , error, , , , , , music forum, , , ondialogresponse, php, public, rls, samp,

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