Raised This Month: $ Target: $400
 0% 

TeamScore Problem


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
#8 SickneSS
BANNED
Join Date: Sep 2008
Location: Here
Old 05-17-2010 , 15:00   TeamScore Problem
Reply With Quote #1

I'm ussing this stock...

PHP Code:
stock cs_set_team_score(const team , const score) {     
    new 
buffer[10];     
    
    switch(
team)
    {         
        case 
1copy(buffer "TERRORIST");
        case 
2copy(buffer "CT");
        
        default: return 
0;     
    }     
    
    
message_begin(MSG_ALL get_user_msgid("TeamScore") , {0,0,0});
    
write_string(buffer);
    
write_byte(score);
    
message_end();
    
    return 
1;

The errors are...
Code:
Welcome to the AMX Mod X 1.8.1-300 Compiler.
Copyright (c) 1997-2006 ITB CompuPhase, AMX Mod X Team

Error: Undefined symbol "TERRORIST" on line 174
Warning: Expression has no effect on line 174
Error: Expected token: ";", but found ")" on line 174
Error: Invalid expression, assumed zero on line 174
Error: Too many error messages on one line on line 174

Compilation aborted.
4 Errors.
Could not locate output file C:\Documents and Settings\Administrador\Escritorio\Vale.amx (compile failed).
I am using this way...

PHP Code:
cs_set_team_score(TERRORIST,TotalCT
#8 SickneSS is offline
Send a message via MSN to #8 SickneSS Send a message via Skype™ to #8 SickneSS
 


Thread Tools
Display Modes

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:38.


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