Sziasztok. Itt valamiert hibad dob ki
set_pev(id, pev_viewmodel2, g_iType[1] == BALROG_RED ? V_MODEL_RED[BALROG3])
Tessek a hiba-s kod

Kód:
Welcome to the AMX Mod X 1.8.1-300 Compiler.
Copyright (c) 1997-2013 ITB CompuPhase, AMX Mod X Team
Warning: Loose indentation on line 145
Warning: Loose indentation on line 146
Error: Expected token: ":", but found ")" on line 628
Error: Expected token: ":", but found ")" on line 633
Error: Expected token: ":", but found ")" on line 637
Error: Expected token: ":", but found ")" on line 641
Error: Expected token: ":", but found ")" on line 660
Error: Expected token: ":", but found ")" on line 670
Error: Array must be indexed (variable "V_MODEL_RED") on line 670
Error: Expected token: ":", but found ")" on line 678
Error: Array must be indexed (variable "V_MODEL_RED") on line 678
Error: Expected token: ":", but found ")" on line 688
Error: Array must be indexed (variable "V_MODEL_RED") on line 688
Error: Expected token: ":", but found ")" on line 698
Error: Array must be indexed (variable "V_MODEL_RED") on line 698
Error: Expected token: ":", but found ")" on line 708
Error: Array must be indexed (variable "V_MODEL_RED") on line 708
Error: Invalid expression, assumed zero on line 722
Error: Undefined symbol "Balrog9_Sounds" on line 1007
Warning: Expression has no effect on line 1007
Error: Expected token: ";", but found "]" on line 1007
Error: Invalid expression, assumed zero on line 1007
Error: Too many error messages on one line on line 1007
Compilation aborted.
20 Errors.
Could not locate output file C:\Users\Bajin\Desktop\Balrog.amx (compile failed).
U.I: Telyes
public fw_Item_Deploy_Post(ent)
{
static id
id = fm_cs_get_weapon_ent_owner(ent)
if(!pev_valid(id))
return
if(g_had_balrog[id][BALROG3] && get_user_weapon(id) == CSW_BALROG3)
{
Create_P_Model(id, BALROG3, 1)
set_pev(id, pev_viewmodel2, g_iType[1] == BALROG_RED ? V_MODEL_RED[BALROG3])
}
else if(g_had_balrog[id][BALROG5] && get_user_weapon(id) == CSW_BALROG5)
{
Create_P_Model(id, BALROG5, 1)
set_pev(id, pev_viewmodel2, g_iType[1] == BALROG_RED ? V_MODEL_RED[BALROG5])
} else if(g_had_balrog[id][BALROG7] && get_user_weapon(id) == CSW_BALROG7)
{
Create_P_Model(id, BALROG7, 1)
set_pev(id, pev_viewmodel2, g_iType[1] == BALROG_RED ? V_MODEL_RED[BALROG7])
} else if(g_had_balrog[id][BALROG11] && get_user_weapon(id) == CSW_BALROG11)
{
Create_P_Model(id, BALROG11, 1)
set_pev(id, pev_viewmodel2, g_iType[1] == BALROG_RED ? V_MODEL_RED[BALROG11])
}
}