Raised This Month: $ Target: $400
 0% 

Capturing user's clcmds


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Dizzy
Veteran Member
Join Date: Jun 2004
Location: Massachusetts
Old 03-06-2010 , 13:37   Re: Capturing user's clcmds
Reply With Quote #3

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...
__________________
My Plugins

Purchase Mod - Stable
Type Sounds - Stable
Monster Spawner - Stable
Nade Giver - Maintenance
Dizzy is offline
Send a message via AIM to Dizzy
 



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 08:46.


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