Raised This Month: $ Target: $400
 0% 

[PROBLEM SOLVED] [fcos] Arguement Type Mismatch Help Page


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
SubStream
Veteran Member
Join Date: Aug 2005
Location: USA
Old 04-08-2006 , 16:56  
Reply With Quote #7

Quote:
Originally Posted by VEN
No, when i said "function headers" i mean only where function body begins.

Example:

Code:
my_func(param[]) { // function's header     another_func(another_param) // notice no brackets for another_param }
So thats kinda like doing this?
Code:
public fn_cl_weather ( gi_playerID, s_cvarname[], const value[] )  // function's header {         fn_fcosandlogentry ( gi_playerID, s_cvarname, gf_valuefromplayer, gf_calfloatvalue ) // notice no brackets for s_cvarname as I originally had it
Is that correct to what you talking about doing? The only difference is that const was taken out of the function param for fn_cl_weather. If I am wrong please just post what I originally posted the correct way. Changing the function header for fn_cl_weather from const s_cvarname[] to s_cvarname[] did nothing and I still get the same problem when I compile.
SubStream is offline
 



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 16:34.


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