Raised This Month: $ Target: $400
 0% 

help me pleas.. i know this is not right place to write this question but help plx (c


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Range
Junior Member
Join Date: Jun 2010
Old 09-18-2010 , 06:32   help me pleas.. i know this is not right place to write this question but help plx (c
Reply With Quote #1

sorry my bad english
okay so i need help whit 1 little problem..
problem is i dont know how to disable that ct's can get guns and grenades on blocks ( im speaking now blockmaker), so i wanna disable that , what i should change ?

actionAWP(id, Float:fValue)
{
if (is_user_alive(id) && !awpused[id])
{
if(fValue <= 0.0)
{
give_item(id, "weapon_awp");
cs_set_weapon_ammo(find_ent_by_owner(1, "weapon_awp", id), 1);
awpused[id] = true;
new name[33];
get_user_name(id, name, 32);
set_hudmessage(75, 95, 135, -1.0, 0.20, 0, 6.0, 12.0, 0.0, 1.0, 3);
show_hudmessage(0, "%s has picked up an AWP!", name);
}
else if(fValue == 1.0)
{
if(get_user_team(id) == 1)
{
give_item(id, "weapon_awp");
cs_set_weapon_ammo(find_ent_by_owner(1, "weapon_awp", id), 1);
awpused[id] = true;
new name[33];
get_user_name(id, name, 32);
set_hudmessage(255, 255, 255, -1.0, 0.20, 0, 6.0, 12.0, 0.0, 1.0, 3);
show_hudmessage(0, "%s has picked up an AWP!", name);
}
else if(get_user_team(id) == 2)
{
set_hudmessage(gHudRed, gHudGreen, gHudBlue, gfTextX, gfTextY, gHudEffects, gfHudFxTime, gfHudHoldTime, gfHudFadeInTime, gfHudFadeOutTime, gHudChannel);
show_hudmessage(id, "This block is for Terrorists only");
}
}
else
{
set_hudmessage(gHudRed, gHudGreen, gHudBlue, gfTextX, gfTextY, gHudEffects, gfHudFxTime, gfHudHoldTime, gfHudFadeInTime, gfHudFadeOutTime, gHudChannel);
show_hudmessage(id, "Only one AWP per round");
}

}
Range is offline
Fleepster99
Senior Member
Join Date: Apr 2010
Old 09-18-2010 , 07:15   Re: help me pleas.. i know this is not right place to write this question but help pl
Reply With Quote #2

Quote:
Originally Posted by Range View Post
sorry my bad english
okay so i need help whit 1 little problem..
problem is i dont know how to disable that ct's can get guns and grenades on blocks ( im speaking now blockmaker), so i wanna disable that , what i should change ?

actionAWP(id, Float:fValue)
{
if (is_user_alive(id) && !awpused[id])
{
if(fValue <= 0.0)
{
give_item(id, "weapon_awp");
cs_set_weapon_ammo(find_ent_by_owner(1, "weapon_awp", id), 1);
awpused[id] = true;
new name[33];
get_user_name(id, name, 32);
set_hudmessage(75, 95, 135, -1.0, 0.20, 0, 6.0, 12.0, 0.0, 1.0, 3);
show_hudmessage(0, "%s has picked up an AWP!", name);
}
else if(fValue == 1.0)
{
if(get_user_team(id) == 1)
{
give_item(id, "weapon_awp");
cs_set_weapon_ammo(find_ent_by_owner(1, "weapon_awp", id), 1);
awpused[id] = true;
new name[33];
get_user_name(id, name, 32);
set_hudmessage(255, 255, 255, -1.0, 0.20, 0, 6.0, 12.0, 0.0, 1.0, 3);
show_hudmessage(0, "%s has picked up an AWP!", name);
}
else if(get_user_team(id) == 2)
{
set_hudmessage(gHudRed, gHudGreen, gHudBlue, gfTextX, gfTextY, gHudEffects, gfHudFxTime, gfHudHoldTime, gfHudFadeInTime, gfHudFadeOutTime, gHudChannel);
show_hudmessage(id, "This block is for Terrorists only");
}
}
else
{
set_hudmessage(gHudRed, gHudGreen, gHudBlue, gfTextX, gfTextY, gHudEffects, gfHudFxTime, gfHudHoldTime, gfHudFadeInTime, gfHudFadeOutTime, gHudChannel);
show_hudmessage(id, "Only one AWP per round");
}

}
Quote:
i know this is not right place to write this question
Why post it here then? ,this should be in scripting
Fleepster99 is offline
santaclaus
Senior Member
Join Date: Dec 2008
Old 09-18-2010 , 13:57   Re: help me pleas.. i know this is not right place to write this question but help pl
Reply With Quote #3

/facepalm
__________________

santaclaus 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 08:03.


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