Raised This Month: $51 Target: $400
 12% 

[ReQ] RU - EN Translation


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
necox
Member
Join Date: Feb 2008
Old 09-04-2012 , 15:30   [ReQ] RU - EN Translation
Reply With Quote #1

PHP Code:
/*
Created Nice Presents by sector for www.chatbox.do.am
Web Help - www.chatbox.do.am

All ingenious is simple - Nice. Made in Russia.
*/

#include <amxmodx>
#include <cstrike>

new nTimer[33]
new 
nBanks[33]
new 
nTimes[33]

new 
nTime 3
new nBank 2000
new nLimit 15000

new nSweet[7][] =
{
    
"уĞĞĞчĞĞ",
    
"ĞĞĞĞĞчĞĞĞĞ",
    
"ĞрĞсĞĞчĞĞ",
    
"тĞĞ ĞĞрĞĞть",
    
"ĞучшĞĞ",
    
"сĞĞыĞ, сĞĞыĞ",
    
"ĞрутĞĞ"
}

public 
plugin_init() 
{
    
register_plugin("Nice Presents""1.0""sector")
}

public 
client_putinserver(i)
{
    
set_task(60.0"nice_presents_timer"i__"b")
    
    
nTimer[i] = 0
    nBanks
[i] = 0
    nTimes
[i] = 0
}

public 
client_disconnect(i)
{
    if(
task_exists(i))
    {
        
remove_task(i)
    }


public 
nice_presents_timer(i)
{
    
nTimer[i]++
    
    if(
nTimer[i] == nTime)
    {
        if(
is_user_connected(i))
        {
            
nBanks[i] += nBank
            nTimes
[i] += nTime
            
            
new nName[33], nMoney cs_get_user_money(i)
            
            
get_user_name(inName32)
            
            if(
nMoney <= nLimit)
            {
                
cs_set_user_money(i, (nMoney nBanks[i]))
                
                
nChatPrint(i"^1[^4Nice Presents^1] ^3%s^1, ты ĞĞ сĞрĞĞрĞ уĞĞ ^4%d^1 ĞĞĞ."nNamenTimes[i])
                
nChatPrint(i"^1[^4Nice Presents^1] Ğ ĞĞ этĞ ĞĞĞучĞĞшь ĞĞĞĞрĞĞ Ğ ĞĞĞĞ ^4%d^1$, %s!"nBanks[i], nSweet[random_num(07)])
            }
            else
            if(
nMoney nLimit)
            {
                
nChatPrint(i"^1[^4Nice Presents^1] ^3%s^1, ĞĞĞĞрĞĞ ĞĞ ĞуĞĞт! ĞĞĞĞĞ: ^4%d^1$ :("nNamenMoney)
            }
                
            
nTimer[i] = 0
        
}
    }
}

stock nChatPrint(const id, const input[], any:...)
{
     new 
nCount 1nNum[32]
     
     static 
nMsgs[191]
     
     
vformat(nMsgs190input3)
     
     
replace_all(nMsgs190"!g""^4")
     
replace_all(nMsgs190"!n""^1")
     
replace_all(nMsgs190"!t""^3")

     
     if(
idnNum[0] = id; else get_players(nNumnCount"ch")
     {
         for(new 
0nCounti++)
        {
            if(
is_user_connected(nNum[i]))
            {
                
message_begin(MSG_ONE_UNRELIABLEget_user_msgid("SayText"), _nNum[i])
                
                
write_byte(nNum[i])
                
                
write_string(nMsgs)
                
                
message_end()
            }
        }
    }

__________________
necox is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 04:28.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode