Author
|
Message
|
Junior Member
Join Date: May 2010
Location: eskilstuna,sweden
|
10-03-2010
, 12:56
need some help with this code
|
#1
|
hello. im getting a waring message called : "Warning: Loose indentation on line 1879
code;
ActionAWP(id, ent)
{
if( cs_get_user_team(id) == CS_TEAM_T )
{
if(takenAWP[id] == 0)
{
new property[5];
GetProperty(ent, 1, property);
give_item(id, "weapon_awp");
cs_set_weapon_ammo(find_ent_by_owner(-1, "weapon_awp", id), str_to_num(property));
takenAWP[id] = true;
new awpname[42];
get_user_name(id, awpname, 32);
set_hudmessage(255, 255, 255, -1.0, -1.0, 0, 6.0, 4.0);
show_hudmessage(0, "Be careful CT! %s has a awp!",
awpname);
}
}
}
can some1 help me
regards Lankan
|
|
|
|