Hey wrecked, thanks for the response! I've just gotten two errors (which are really the same problem) while compiling and for some reason I can't figure it out.
Code:
#define CVAR_PLUGIN "amx_typesounds"
#define CVAR_USES "amx_typesounds_uses"
#define CVAR_ADMIN "amx_typesounds_ao"
new uses[33] = "CVAR_USES";
...
register_cvar("CVAR_PLUGIN","1");
register_cvar("CVAR_USES","5");
register_cvar("CVAR_ADMIN","0");
...
uses[id] = CVAR_USES;
client_print (id, print_chat, "[Type Sounds]: %d sound(s) left!", uses[id]);
return PLUGIN_HANDLED;
}
uses[id] = CVAR_USES;
The lines that contain:
uses[id] = CVAR_USES; throws an error saying:
error 006: must be assigned to an array hmmm...
__________________