Ayuda con ttt_item_golden
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); } |
| All times are GMT -4. The time now is 13:57. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.