Raised This Month: $ Target: $400
 0% 

Cur Map


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
LostSkill
Senior Member
Join Date: Jun 2008
Location: Monuhuelo Island
Old 11-07-2009 , 15:02   Cur Map
Reply With Quote #1

Well i just whana ask or this code will work if map runs example AWP_INDIA and i whana do command to turn off one plugin command:

PHP Code:
 #include <amxmodx>
 
#define PLUGIN "Map"
#define VERSION "1.0"
#define AUTHOR "LostSkill"

public plugin_init() 

    
register_plugin(PLUGINVERSIONAUTHOR);
 
    
set_task(1.0"taskCheckMap"0""0"b"0);
}
 
public 
taskCheckMap()
{
    new 
szMap32 ]; 
    
get_mapnameszMap31 ); 
     
    if( 
equaliszMap"35hp_2" ) ) 
    { 
    
server_cmd("amx_armor 0")
    }

and wich of them is helm and armor

PHP Code:
give_item(player"item_kevlar");
give_item(player"item_assaultsuit");
give_item(player"item_thighpack"); 
__________________
MY ENGLISH IS BAD.....
LostSkill is offline
Send a message via MSN to LostSkill
 



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 17:34.


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