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

Help please


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
(--eRRoR--)
Senior Member
Join Date: Mar 2008
Location: Romania
Old 10-27-2009 , 09:51   Help please
Reply With Quote #1

Y ma tring to at 2 comands that does the same thing.
Code:
public cmd_whois( id, arg[] )
{
   //call a shared function to get the charsheet of the ID passed in
}
 
public character_sheet( id )
{
   //call a shared function to get the charsheet of the ID passed in
}
 
public shared_function(id)
{
   //generate the charsheet for w/e player is ID
}  
the problem is how do y ad "public shared_function(id)" to both of them?

+karma
(--eRRoR--) is offline
Send a message via Yahoo to (--eRRoR--) Send a message via Skype™ to (--eRRoR--)
<VeCo>
Veteran Member
Join Date: Jul 2009
Location: Bulgaria
Old 10-27-2009 , 10:32   Re: Help please
Reply With Quote #2

I can't understand you...
Try this but...
PHP Code:
shared_function(id
put it in other function
__________________
<VeCo> is offline
(--eRRoR--)
Senior Member
Join Date: Mar 2008
Location: Romania
Old 10-27-2009 , 10:54   Re: Help please
Reply With Quote #3

ok y will tri it.
thanks.
(--eRRoR--) is offline
Send a message via Yahoo to (--eRRoR--) Send a message via Skype™ to (--eRRoR--)
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 10:08.


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