Compile error
I'm NOT such of an expert but i want to make a plugin where if it's 00:00 o'clock admins can't use amx_map with a print in the console and also if it's 00:00 o'clock and another map except de_dust2 to change it automatically that untill 07:00 o'clock.
And i'm stuck with the following errors: Code:
mapblocker.sma(11) : error 020: invalid symbol name "" Code:
#include <amxmodx> |
Re: Compile error
get_mapname() doesn't return anything. Also, you can't compare two strings with ==, you must use equal() or equali().
|
Re: Compile error
Quote:
Code:
error 020: invalid symbol name "" Code:
state = 1; Code:
error 001: expected token: "-identifier-", but found "=" |
Re: Compile error
state is a reserved word which means it already has a purpose in the language syntax. Change that variable name to iState, or something. This would be similar to you trying to create a variable named 'new' or 'if'.
|
Re: Compile error
Quote:
|
All times are GMT -4. The time now is 09:45. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.