Raised This Month: $ Target: $400
 0% 

need some help with this code


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
LankaN96
Junior Member
Join Date: May 2010
Location: eskilstuna,sweden
Old 10-03-2010 , 12:56   need some help with this code
Reply With Quote #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
LankaN96 is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 10-03-2010 , 13:02   Re: need some help with this code
Reply With Quote #2

http://en.wikipedia.org/wiki/Indent_style
__________________
fysiks is offline
Reply



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


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