Recent content by 3dWaffle

  1. 3dWaffle

    GSC get player's current weapon

    Thanks, finally got it working. this doesn't work: damage_trigger = GetEnt("pp_trigger", "targetname"); damage_trigger waittill("trigger", player); weapon = player GetCurrentWeapon(); IPrintLnBold(weapon.name); it only works when i change "player" to "user", like this: damage_trigger =...
  2. 3dWaffle

    GSC get player's current weapon

    I wanna check if the player is using a specific weapon when they shoot a trigger_damage, but i can't find a way to get the weapon's name. This is my current function: function ee_function() { level waittill("power_on"); damage_trigger = GetEnt("pp_trigger", "targetname"); wclip =...
Top