AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   PrintToServer - variable (https://forums.alliedmods.net/showthread.php?t=87022)

TheZombieMaster 03-05-2009 17:52

PrintToServer - variable
 
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..

:cry:

Exolent[jNr] 03-05-2009 17:59

Re: PrintToServer - variable
 
Are you trying to script for Source games or HL1 games?

TheZombieMaster 03-05-2009 18:11

Re: PrintToServer - variable
 
Oh sorry, It's for L4D, source I think although I've read its a bit different for L4d :shock:

Exolent[jNr] 03-05-2009 18:13

Re: PrintToServer - variable
 
This section is for AMX Mod X, which is for HL1 based games.
You should post in the SourceMod section for help.


All times are GMT -4. The time now is 17:02.

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