Raised This Month: $ Target: $400
 0% 

PrintToServer - variable


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
TheZombieMaster
Junior Member
Join Date: Feb 2009
Old 03-05-2009 , 17:52   PrintToServer - variable
Reply With Quote #1

Hi Guys,

Go easy on me - just started scripting following various tutorials / looking at existing code in certain plugins... I am stuck on something basic. Can someone tell me if this is correct?

PHP Code:
public OnPluginStart()
{
    new 
num 1
    PrintToServer
("The CTS Count is"num );

It displays "The CTS Count is" but not the value of the variable after..

TheZombieMaster is offline
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 03-05-2009 , 17:59   Re: PrintToServer - variable
Reply With Quote #2

Are you trying to script for Source games or HL1 games?
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
TheZombieMaster
Junior Member
Join Date: Feb 2009
Old 03-05-2009 , 18:11   Re: PrintToServer - variable
Reply With Quote #3

Oh sorry, It's for L4D, source I think although I've read its a bit different for L4d
TheZombieMaster is offline
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 03-05-2009 , 18:13   Re: PrintToServer - variable
Reply With Quote #4

This section is for AMX Mod X, which is for HL1 based games.
You should post in the SourceMod section for help.
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] 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 17:02.


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