Raised This Month: $ Target: $400
 0% 

Error


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Artifact
Veteran Member
Join Date: Jul 2010
Old 06-23-2011 , 05:26   Error
Reply With Quote #1

Code:
Get_Prefix()   // Line 24
{   // Line 25
    new sPrefix[32]   // Line 26
    get_pcvar_string(g_prefix_cvar, sPrefix, charmax(sPrefix))   // Line 27
    return sPrefix   // Line 28
}
Error: Invalid function call, not a valid address on line 27
Warning: Expression has no effect on line 27
Error: Expected token: ";", but found ")" on line 27
Error: Invalid expression, assumed zero on line 27
Error: Too many error messages on one line on line 27

Compilation aborted.
4 Errors.
Could not locate output file C:\Program Files\AMX Mod X\amxxstudio\something.amx (compile failed).
__________________
Artifact is offline
Schwabba
Senior Member
Join Date: Apr 2008
Old 06-23-2011 , 05:29   Re: Error
Reply With Quote #2

Quote:
Originally Posted by Artifact View Post
charmax(sPrefix))
It's called charsmax().
Schwabba is offline
Old 06-23-2011, 05:30
fysiks
This message has been deleted by fysiks. Reason: beat me to it.
Reply



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 23:25.


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