Raised This Month: $ Target: $400
 0% 

Getting Server Info


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Peli
Veteran Member
Join Date: Mar 2004
Location: San Diego, CA
Old 06-13-2004 , 20:51   Getting Server Info
Reply With Quote #1

I'm trying to make a plugin where it gets information about the map and if it is not a 'De or Cs' map it will make the gravity different and enable more fun stuff since it is just a custom fun map , but I need to know what is the native to get the map that is currently on the server? Thanks guys , this is probably the hardest/longest plugin I ever made , so I'm going to need a lot of help.
Peli is offline
Send a message via MSN to Peli
Downtown1
Veteran Member
Join Date: Mar 2004
Old 06-13-2004 , 21:54  
Reply With Quote #2

Search the INC files .
Downtown1 is offline
Peli
Veteran Member
Join Date: Mar 2004
Location: San Diego, CA
Old 06-13-2004 , 22:25  
Reply With Quote #3

Okay sorry I was a noob on that but I just couldn't find it , now I found it. It's :
Code:
get_mapname()
But here is my real question. :
1. If I wanted to get 'De and Cs' maps , would I do this? :
Code:
get_mapname(de_dust,cs_italy,etc...)
Would I have to type all the map names? Or could I just get the servers mapcycle somehow and put it there? Thanks.
Peli is offline
Send a message via MSN to Peli
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:51.


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