Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help giving people pre-cocked guns
#1
when i give people weapons and they switch, they need to cock the gun back, how can you disable that when they first spawn
Reply

#2
Code:
self giveweapon(weapon);
wait .05;
self switchtoweapon(weapon);

I think? I don't understand what you mean . .
[Image: MaEIQ.png]
Reply

#3
self setspawnweapon("weapon");

I dont understand you, Undecided
Reply

#4
Give details, maybe examples.
Reply

#5
if you give someone a weapon that isnt their spawn weapon, the first time you switch to that weapon you have to cock it back... also self setspawnweapon gets over-ridden by something.. what gsc is that in?


self giveweapon(weapon);
wait .05;
self switchtoweapon(weapon);


is currently what i do, im making it into a CTF mode and dont want any cocks..
Reply

#6
gets overwritten by _class.gsc
[Image: MaEIQ.png]
Reply

#7
Create a weapon without the cocking animation. Or you could try this.

prev = self getcurrentweapon();
self switchtoweapon("theweapon");
wait 0.05;
self switchtoweapon(prev);
wait 0.05;
self switchtoweapon("theweapon");

You might not need the waits.
Reply

#8
Do mean without the first raise animations?
Reply



Possibly Related Threads…
Thread Author Replies Views Last Post
  Help Server not in list, but people join 99IRock 8 7,108 07-17-2013, 21:26
Last Post: clacki
  I need to sorry all of you people Bloodfocus 23 11,902 04-05-2013, 18:15
Last Post: SuperNovaAO
  I want to thank some people [2] Mods edition Arteq 7 6,119 04-05-2013, 18:10
Last Post: SuperNovaAO
  [Release] Golden guns and all titles AdamOwnz 34 24,615 03-12-2013, 03:12
Last Post: REAB66
Question Help Kick people with space in name koro35 13 8,362 01-06-2013, 14:14
Last Post: master131
Heart Thanking some people 99IRock 6 3,732 12-27-2012, 14:40
Last Post: kokole
  I want to thank some people 99IRock 5 3,588 12-26-2012, 18:33
Last Post: surtek
Question Help My guns 99IRock 4 4,207 11-30-2012, 14:52
Last Post: 99IRock
  Help Akimbo guns 99IRock 5 5,259 11-18-2012, 11:36
Last Post: jari333
Wink how to add new guns meisking 8 5,773 09-21-2012, 20:10
Last Post: banz

Forum Jump:


Users browsing this thread:
3 Guest(s)

Forum Powered By MyBB, Theme by © 2002-2024 Melroy van den Berg.