Raised This Month: $ Target: $400
 0% 

Multiple Funktions whit same name


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Stylaa
Senior Member
Join Date: Oct 2009
Location: Flensburg, Germany
Old 11-29-2011 , 02:19   Multiple Funktions whit same name
Reply With Quote #1

Is it possible to have more than 1 Function whit the same name fe.

PHP Code:
// 1st
public HookPrecache()
{
...
}

// 2nd
public HookPrecache()
{
...

and in plugin_precache
HookPrecache()

Or is there may an other way to do anythink simlear?
__________________

Some People brings Happynes by Coming
Some by Going
Stylaa is offline
Send a message via ICQ to Stylaa
jim_yang
Veteran Member
Join Date: Aug 2006
Old 11-29-2011 , 03:16   Re: Multiple Funktions whit same name
Reply With Quote #2

any specific reason you must do this ? just put all things in that function, or name functions differently and call them one by one in that function.
__________________
Project : CSDM all in one - 99%
<team balancer#no round end#entity remover#quake sounds#fake full#maps management menu#players punishment menu#no team flash#colored flashbang#grenade trails#HE effect#spawn protection#weapon arena#weapon upgrade#auto join#no weapon drop#one name>
jim_yang is offline
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 08:30.


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