Raised This Month: $ Target: $400
 0% 

Can't find function


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Hunter-Digital
Veteran Member
Join Date: Aug 2006
Location: In the Game [ro]
Old 08-12-2011 , 17:09   Re: Can't find function
Reply With Quote #2

There isn't such function (AFAIK), you'll need to detect that yourself.

The easiest but can be unaccurate way is to get the prefix of the map, use get_mapname() in a 3 cell array and compare to "de", "cs", "as", "es", "fy", etc.

A more accurate way is to get the map's game entities and decide what game modes the map contains, since a map can have hostages, vip, bomb and terrorist escape all in one, it's quite hard to include all of those into the map's name but I don't really know what entities are required for each game type, so you'll have to research on that.
__________________
Hunter-Digital is offline
 



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


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