Raised This Month: $ Target: $400
 0% 

Help please


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
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--)
 



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 17:37.


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