Raised This Month: $ Target: $400
 0% 

Join team event


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
dstopgunner
Senior Member
Join Date: Oct 2007
Old 06-06-2009 , 07:40   Join team event
Reply With Quote #1

Hello there is a map called awp_crazysomethin. Its a map every cts spawn in a cage with awp. the terrorists spawn far away where they have to fly on slopes to other side so that cts can shoot them.
the terrorists have to walk nearer to the cts until they reach a room where there are grenades and m249 so that they can kill the cts =]

But I think there should be only max of 5 cts in the map.
How i do this?

is it correct to use

register_logevent("event_jointeam", 3, "1=joined team")

and

PHP Code:
public event_jointeam()
{
     new 
ctteamplayers getplayersstuff.......(CT)
     if( 
ctteamplayers 4)
     {
          
engclientcmd(id ,)
          
engclientcmd(id ,)
     }

or something?
dstopgunner is offline
dstopgunner
Senior Member
Join Date: Oct 2007
Old 06-07-2009 , 05:31   Re: Join team event
Reply With Quote #2

Bump
dstopgunner is offline
hleV
Veteran Member
Join Date: Mar 2007
Location: Lithuania
Old 06-07-2009 , 06:17   Re: Join team event
Reply With Quote #3

Don't bump unless 14 days have passed since the last post.
__________________
hleV is offline
toazron1
Senior Member
Join Date: Oct 2006
Old 06-07-2009 , 13:13   Re: Join team event
Reply With Quote #4

Code:
public jointeamevent()
{
      new count = getplayerson(ct);
      if( count > 5 )
      {
            return plugin_handled;
      }
}

__________________
toazron1 is offline
Send a message via AIM to toazron1
Reply


Thread Tools
Display Modes

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 14:03.


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