Raised This Month: $ Target: $400
 0% 

no arrays or too many subscripts


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Mini_Midget
Veteran Member
Join Date: Jan 2006
Location: It's a mystery.
Old 04-09-2006 , 02:13   no arrays or too many subscripts
Reply With Quote #1

well...
this is my first time coding and now i need help
Code:
public  weaponChange(id) {     if (get_cvar_num("amx_claws"))         (get_user_flags(id)) {         {             new clip, ammo, wpnid = get_user_weapon(id,clip,ammo)             if (wpnid == CSW_KNIFE) {                 entity_set_string(id, EV_SZ_viewmodel, "claws.mdl")             }         }         new CsTeams:userTeam = cs_get_user_team(id)         if (userTeam == CS_TEAM_T) {                        cs_set_user_model(id, "claws")         }                               else {                                  cs_reset_user_model(id)                 }                           }
when i try to compile it
it gives me 2 error messages
first one is on the 3rd line and it says that it has no arrays or too many subscripts
the 2nd error is on like 4 about loose indentation
thxs in advance
__________________
It's a mystery.
Mini_Midget is offline
 


Thread Tools
Display Modes

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 16:42.


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