AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Extend map function (https://forums.alliedmods.net/showthread.php?t=50668)

st0ned 01-31-2007 16:49

Extend map function
 
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

Da_sk8rboy 01-31-2007 17:08

Re: Extend map function
 
Quote:

Can any1 gimme the code?
Uhh.. What would be the point of them giving the code if your coding a plugin.

[ --<-@ ] Black Rose 02-01-2007 07:29

Re: Extend map function
 
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) }
?

dutchmeat 02-01-2007 08:23

Re: Extend map function
 
i think he wants to make a new vote argument, that extends a map.

st0ned 02-01-2007 10:42

Re: Extend map function
 
Yes.Like a function that allows ppl 2 vote for extension of map

dutchmeat 02-01-2007 15:03

Re: Extend map function
 
well take a look at admin_vote.sma in your scripting folder

st0ned 02-03-2007 08:06

Re: Extend map function
 
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


All times are GMT -4. The time now is 00:41.

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