Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Süper pro mod -----> gelişecek
#2
ColorChat Kullan daha iyi https://www.csplague.com/pawn-plugin-der...latim.html


Sadece istenilen mapta calısması ayarlandı.
Rastgele silah ayarlandı.


PHP Code:
/* pawN is - Game[R] */

#include <amxmodx>
#include <fun>
#include <amxmisc>
#include <hamsandwich>
#include <cstrike>
#include <fakemeta>
#include <nvault>
#include <engine>
#include <ColorChat>
#include <ChatColor>


#define PLUGIN "SuperProMod"
#define VERSION "1.0"
#define AUTHOR "Game[R]"


public plugin_init() {
    
register_plugin(PLUGINVERSIONAUTHOR)
    
register_event("DeathMsg","eDeath","a")
    
register_logevent("ElBaslayinca",2,"1=Round_Start")
    
register_clcmd("buy","yasakli");
}
public 
ElBaslayinca() {
    new 
szMapName64 ]
    
get_mapnameszMapName63 );
    
    if( 
containszMapName"spm_" ) != -1
    {
        for(new 
all 1;all <= get_maxplayers();all++) {
            
set_user_health(all,200)
            
strip_user_weapons(all)
            
set_user_gravity(all0.5)
            
set_user_maxspeed(all600.0)
            
set_user_armor(all100)
            
set_lights("c")
            
give_item(all,"weapon_knife")
            
give_item(all,"weapon_glock18")
            
cs_set_user_bpammo(all,CSW_GLOCK18,120)
            
chat_color(0,"!t Super Pro Mod !g Aktif... Bu Modu Hazirlayan !tGame[R] 'a !gTesekkurler")
        }
    }
}
public 
eDeath() {
    new 
szMapName64 ]
    
get_mapnameszMapName63 );
    
    if( 
containszMapName"spm_" ) != -1
    {
        new 
olduren read_data(1);
        new 
olen read_data(2);
        if(
olen != olduren) {
            switch(
random_num(1,4)){
                case 
1: {
                    
give_item(olduren,"weapon_ak47")
                    
ColorChat(olduren,GREEN,"Sansina ^3Ak-47 Geldi")
                    
cs_set_user_bpammo(olduren,CSW_AK47,90)
                }
                case 
2: {
                    
give_item(olduren,"weapon_m4a1")
                    
cs_set_user_bpammo(olduren,CSW_M4A1,90)
                    
ColorChat(olduren,GREEN,"Sansina ^3Colt Geldi :)")
                }
                case 
3: {
                    
give_item(olduren,"weapon_awp")
                    
cs_set_user_bpammo(olduren,CSW_AWP,90)
                    
ColorChat(olduren,GREEN,"Sansina ^3Awp Geldi :)")
                }
                case 
4: {
                    
give_item(olduren,"weapon_mp5navy")
                    
cs_set_user_bpammo(olduren,CSW_MP5NAVY,120)
                }
                
            }
            
give_item(olduren,"weapon_smokegrenade")
            
chat_color(olduren,"!tSaldirin!!! !gHakettiginizi Alicaksiniz...")
        }
    }
    return 
PLUGIN_CONTINUE
    
}
public 
yasakli(id)
{
    new 
szMapName64 ]
    
get_mapnameszMapName63 );
    
    if( 
containszMapName"spm_" ) != -1
    {
        
chat_color(id,"!gBu Komut !tYonetici !gTarafindan !tKapatilmistir.")
        return 
PLUGIN_HANDLED
    
}
    return 
PLUGIN_CONTINUE

Reply


Messages In This Thread
Cevap: Süper pro mod -----&gt; gelişecek - by к4dανяα - 27-10-12, 12:48

Possibly Related Threads…
Thread Author Replies Views Last Post
  Amx Super |ACİL| HeRqeLee 2 2,880 08-02-12, 19:42
Last Post: HeRqeLee
  Amx Super Full Turkce + Renkli İstek Amx Super Full Turkce + Renkli İstek TagaL 2 3,101 26-12-11, 02:55
Last Post: NiCoMeDiA

Foruma Atla:


Users browsing this thread: 2 Guest(s)