Raised This Month: $ Target: $400
 0% 

Solved Help with compiling


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
WhiteFang1319
Senior Member
Join Date: Jan 2017
Old 02-09-2017 , 08:48   Help with compiling
Reply With Quote #1

This is an advanced version of statsx shell plugin which I got from a friend. Can't compile it properly getting these errors:

Welcome to the AMX Mod X 1.8.1-300 Compiler.
Copyright (c) 1997-2013 ITB CompuPhase, AMX Mod X Team

Error: Undefined symbol "MAX_PLAYERS" on line 163
Error: Undefined symbol "MAX_PLAYERS" on line 171
Error: Undefined symbol "MAX_PLAYERS" on line 172
Error: Undefined symbol "MAX_PLAYERS" on line 173
Error: Undefined symbol "MAX_PLAYERS" on line 175
Error: Undefined symbol "MAX_PLAYERS" on line 177
Error: Undefined symbol "MAX_PLAYERS" on line 178
Error: Undefined symbol "MAX_PLAYERS" on line 179
Error: Undefined symbol "MAX_PLAYERS" on line 193
Error: Undefined symbol "MAX_PLAYERS" on line 194
Error: Undefined symbol "MAX_PLAYERS" on line 195
Error: Invalid array size (negative or zero) on line 196
Error: Invalid array size (negative or zero) on line 197
Error: Undefined symbol "MAX_PLAYERS" on line 198
Error: Undefined symbol "MAX_NAME_LENGTH" on line 206
Error: Undefined symbol "MAX_NAME_LENGTH" on line 239
Warning: Loose indentation on line 311
Warning: Loose indentation on line 322
Warning: Loose indentation on line 801
Warning: Loose indentation on line 803
Warning: Loose indentation on line 885
Warning: Loose indentation on line 917
Warning: Symbol is assigned a value that is never used: "iHoldTime" on line 1029
Warning: Symbol is assigned a value that is never used: "iFadeOut" on line 1029
Warning: Symbol is assigned a value that is never used: "iFadeIn" on line 1029
Warning: Symbol is assigned a value that is never used: "g_iLastVisit" on line 1029
Warning: Symbol is assigned a value that is never used: "g_iLastPT" on line 1029
Error: Undefined symbol "MAX_NAME_LENGTH" on line 1138
Error: Undefined symbol "MAX_NAME_LENGTH" on line 1150
Error: Number of arguments does not match definition on line 1150
Error: Undefined symbol "MAX_NAME_LENGTH" on line 1202
Error: Number of arguments does not match definition on line 1202
Error: Undefined symbol "MAX_NAME_LENGTH" on line 1240
Error: Number of arguments does not match definition on line 1240
Error: Undefined symbol "MAX_PLAYERS" on line 1269
Error: Undefined symbol "MAX_PLAYERS" on line 1305
Error: Undefined symbol "MAX_NAME_LENGTH" on line 1392

Compilation aborted.
26 Errors.
Could not locate output file C:\Users\Mohsin\Desktop\statsx_shell.amx (compile failed).

I can fix the loose indentation error and can I define MAX_PLAYERS and MAX_NAME_LENGTH as #define MAX_PLAYERS 32
#define MAX_NAME_LENGTH 32 ??
Attached Files
File Type: sma Get Plugin or Get Source (statsx_shell.sma - 683 views - 125.8 KB)

Last edited by WhiteFang1319; 02-15-2017 at 00:12.
WhiteFang1319 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 20:44.


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