Raised This Month: $ Target: $400
 0% 

surf_ski_2: Rules Watcher v1.1


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
yura097
Junior Member
Join Date: Sep 2009
Location: Russia, Yekaterinburg
Old 04-14-2010 , 11:08   Re: surf_ski_2: Rules Watcher by xPaw
Reply With Quote #29

How I can add zones for other maps?

I writed this cod (change in sma) to


Code:
  get_mapname( szMap, 13 );
    
    if( equali( szMap, "surf_machine2" ) ) {
        CreateTrigger( JAIL, Float:{ 3297.2, -308.6, 2113.0 }, Float:{ 3521.9, 289.0, 2298.8 } );
        CreateTrigger( GUNROOM, Float:{ -2443.0, -907.8, -1501.0 }, Float:{ -3375.3, -3611.0, -431.3 } );
        CreateTrigger( MARIOROOM, Float:{ -2545.9, -2467.4, -587.2 }, Float:{ -2278.2, -2688.7, -828.3 } );
        
        register_touch( g_szClassname, "player", "FwdTriggerTouch" );
        RegisterHam( Ham_Spawn,        "player", "FwdHamPlayerSpawn", 1 );
        RegisterHam( Ham_TakeDamage,   "player", "FwdHamTakeDamage" );
        RegisterHam( Ham_TraceAttack,  "player", "FwdHamTraceAttack" );
        
        register_event( "HLTV", "EventNewRound", "a", "1=0", "2=0" );
        
        CacheCvars( );
    }
but it doesn't work, zones doesn't creat

Where I must change some thing for take this?


Xpaw, Can You create new version with menu.

In this new menu admin must can create zones in game!

It wil be real cool!
yura097 is offline
Send a message via ICQ to yura097
 



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 23:53.


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