Raised This Month: $ Target: $400
 0% 

classname


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 08-07-2011 , 23:09   Re: classname
Reply With Quote #1

To clarify, he means to post code like this:

[php]
public plugin_init()
{
register_clcmd("say", "cmdSay")
register_clcmd("say_team", "cmdSay")
}
[/php]

So it looks like this:

PHP Code:
public plugin_init()
{
    
register_clcmd("say""cmdSay")
    
register_clcmd("say_team""cmdSay")

@Doc-Holiday, you can show an example like I did above like this:

[noparse][php]client_print(id, print_chat, "WAS UP");[/php][/noparse]
__________________
fysiks is offline
Doc-Holiday
AlliedModders Donor
Join Date: Jul 2007
Old 08-08-2011 , 00:17   Re: classname
Reply With Quote #2

Quote:
Originally Posted by fysiks View Post
To clarify, he means to post code like this:

[php]
public plugin_init()
{
register_clcmd("say", "cmdSay")
register_clcmd("say_team", "cmdSay")
}
[/php]

So it looks like this:

PHP Code:
public plugin_init()
{
    
register_clcmd("say""cmdSay")
    
register_clcmd("say_team""cmdSay")

@Doc-Holiday, you can show an example like I did above like this:

[noparse][php]client_print(id, print_chat, "WAS UP");[/php][/noparse]
Thanks... lol always wondered how you guys did that.
Doc-Holiday 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 03:21.


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