Archived copy of war3source.com, the War3Source forum (2009–2020), rebuilt from the Internet Archive by wc3mods.net. This page was captured on 2016-08-04 (original capture). Forum · All archived topics · Wiki · Bug tracker · Blog

Author Topic: Weapon restriction while using ultimate with Vagabond  (Read 1531 times)

Zwizzor

  • Newbie
  • *
  • Posts: 6
    • View Profile
Weapon restriction while using ultimate with Vagabond
« on: December 30, 2013, 09:56:23 AM »
Hi guys, I need help to disable scout use while using the ultimate on the race vagabond here :
http://pastebin.com/Pn9MFY9c

What I exactly need is to keep the race working as it is already, but disabling the weapon_scout while being invisible, then getting back the scout when going out of invisibility...
I've tried to do it by myself but I've never coded in sourcepawn before...

Thank you very much for taking the time to help me !

Remy Lebeau

  • Sr. Member
  • ****
  • Posts: 488
    • View Profile
    • Seven Sins Gaming
Re: Weapon restriction while using ultimate with Vagabond
« Reply #1 on: December 30, 2013, 02:20:21 PM »
add this at line 303

Code: [Select]
War3_SetBuff( client, bDisarm, thisRaceID, true  );
and this at line 309

Code: [Select]
War3_SetBuff( client, bDisarm, thisRaceID, false );
That should do it.
STEAM PROFILE

NEW CS:GO SERVER:

Zwizzor

  • Newbie
  • *
  • Posts: 6
    • View Profile
Re: Weapon restriction while using ultimate with Vagabond
« Reply #2 on: December 30, 2013, 05:38:06 PM »
Thank you, I will test ASAP

Zwizzor

  • Newbie
  • *
  • Posts: 6
    • View Profile
Re: Weapon restriction while using ultimate with Vagabond
« Reply #3 on: December 31, 2013, 05:29:39 AM »
It works fine, thank you !
« Last Edit: December 31, 2013, 05:36:41 AM by Zwizzor »

Remy Lebeau

  • Sr. Member
  • ****
  • Posts: 488
    • View Profile
    • Seven Sins Gaming
Re: Weapon restriction while using ultimate with Vagabond
« Reply #4 on: December 31, 2013, 05:54:44 PM »
STEAM PROFILE

NEW CS:GO SERVER:

Okazakir

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: Weapon restriction while using ultimate with Vagabond
« Reply #5 on: January 11, 2016, 11:24:52 PM »
Bobcats are playing it just seems to be fun, I like games like this.