Raised This Month: $51 Target: $400
 12% 

Extend map function


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
st0ned
Member
Join Date: Dec 2006
Location: Somewhere
Old 01-31-2007 , 16:49   Extend map function
Reply With Quote #1

How do I code the votemap function?Can any1 gimme the code?I want to make a plugins thats like votemaps+ extend map function.Help
st0ned is offline
Send a message via Skype™ to st0ned
Da_sk8rboy
Veteran Member
Join Date: Jul 2006
Old 01-31-2007 , 17:08   Re: Extend map function
Reply With Quote #2

Quote:
Can any1 gimme the code?
Uhh.. What would be the point of them giving the code if your coding a plugin.
__________________
i stop around here and there.
Da_sk8rboy is offline
[ --<-@ ] Black Rose
ANNIHILATED
Join Date: Sep 2005
Location: Stockholm, Sweden.
Old 02-01-2007 , 07:29   Re: Extend map function
Reply With Quote #3

Code:
new g_pcvar public plugin_init() {     g_pcvar = get_cvar_pointer("mp_timelimit") } public func() {     new extend_time = 15.0     set_pcvar_num(g_pcvar, get_pcvar_num(g_pcvar) + extend_time) }
?
[ --<-@ ] Black Rose is offline
dutchmeat
Senior Member
Join Date: Sep 2006
Old 02-01-2007 , 08:23   Re: Extend map function
Reply With Quote #4

i think he wants to make a new vote argument, that extends a map.
__________________
before you criticize someone, you should walk a mile in their shoes. that way, when you criticize them, you're a mile away and you have their shoes.
dutchmeat is offline
st0ned
Member
Join Date: Dec 2006
Location: Somewhere
Old 02-01-2007 , 10:42   Re: Extend map function
Reply With Quote #5

Yes.Like a function that allows ppl 2 vote for extension of map
st0ned is offline
Send a message via Skype™ to st0ned
dutchmeat
Senior Member
Join Date: Sep 2006
Old 02-01-2007 , 15:03   Re: Extend map function
Reply With Quote #6

well take a look at admin_vote.sma in your scripting folder
__________________
before you criticize someone, you should walk a mile in their shoes. that way, when you criticize them, you're a mile away and you have their shoes.
dutchmeat is offline
st0ned
Member
Join Date: Dec 2006
Location: Somewhere
Old 02-03-2007 , 08:06   Re: Extend map function
Reply With Quote #7

Well I looked but didnt find anythin.All i want is to add a extend map function to the votemap plugin.I need the actual function code and the code,so the function will appear in company
st0ned is offline
Send a message via Skype™ to st0ned
Reply



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:19.


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