Raised This Month: $ Target: $400
 0% 

message_begin gets an error


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
hlstriker
Green Gaben
Join Date: Mar 2006
Location: OH-IO!
Old 01-16-2007 , 11:38   message_begin gets an error
Reply With Quote #1

Hi when I try and compile this code the line with message_begin gets this error...
Quote:
error 035: argument type mismatch (argument 2)
Here is the code...
Code:
public updateScore(id) {     message_begin(MSG_ALL, "ScoreInfo"); /* <--- Gets error here */     write_byte(id); // Player id     write_short(0); // Frags     write_short(0); // Deaths     write_short(0); // Class     write_short(0); // Team     message_end(); }
hlstriker is offline
 


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 22:30.


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