Raised This Month: $ Target: $400
 0% 

Ayuda con ttt_item_golden


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Cachilo90
New Member
Join Date: Oct 2020
Old 10-09-2020 , 23:48   Ayuda con ttt_item_golden
Reply With Quote #1

Hi guys, could you help me with the ttt_item_golden, I want the second time I mark it, it kills it



public cswa_damage(weapon_id, victim, attacker, Float:damage)
{
if(!g_iAlreadyShot[attacker] && get_weapon_edict(weapon_id, REPL_CSWA_ITEMID) == g_iItemID)
{
static name[2][32];
get_user_name(attacker, name[0], charsmax(name[]));
new player_state = ttt_get_playerstate(victim);
if(player_state == PC_TRAITOR)
{
g_iGlowing[ victim ] = true;
screen_fade2(victim);
set_user_health( victim, get_user_health( victim ) - 0 );
set_user_rendering( victim, kRenderFxGlowShell, 255, 0, 0, kRenderNormal, 30 );

//ExecuteHamB(Ham_Killed, victim, attacker, 2);
//client_print_color(victim, print_team_default, "%s !nFuiste asesinado por !gDoble Dorada.", TTT_TAG);

}

Last edited by Cachilo90; 10-12-2020 at 20:03.
Cachilo90 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 13:57.


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