AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Yet another simple problem :( (https://forums.alliedmods.net/showthread.php?t=12555)

BioHazardousWaste 04-18-2005 00:00

Yet another simple problem :(
 
Ok guys, got another one sorry. I swear I spend at least an hour on a problem before I post it...

Code:
    //vars     new CTs[32], Ts[32], CTName[32], TName[32]     new CTCount, TCount         //get CTs     get_players(CTs, CTCount, "ae", "CT")     //get Ts     get_players(Ts, TCount, "ae", "T")     //debug     client_print(0, print_center, "CTs %i v Ts %i", CTCount, TCount)

Now, if a game isn't started it says
CTs 0 v Ts 0

If a game has started it says
CTs x v Ts 0 (i'm pretty sure the CT works right but T doesn't)

Anyone know the problem?

slurpycof 04-18-2005 00:17

I am not sure, but aren't the team names CT and TERRORIST?

Freecode 04-18-2005 00:59

yes they are CT and TERRORIST

BioHazardousWaste 04-18-2005 07:02

OK, didn't know what they were... just logical guessing (apparently not logical enough). Should probably add that to the .function database on the main page. Thanx


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

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