Author Topic: /weaponon /weaponoff command  (Read 874 times)

0 Members and 1 Guest are viewing this topic.

Offline ctf_worldtour

  • Major(1)
  • Posts: 30
  • banned
    • visit my Homepage
/weaponon /weaponoff command
« on: May 02, 2007, 03:04:29 pm »
 :o

hi new bug:

command is /weaponon /weaponoff , which are great new features, but only works if people in game. For people new joining game dont affect them, cause they have all weapons then. would be nice to fix this bug, if it'is 1.

cu wt  [socom]

Offline The Brain

  • Major(1)
  • Posts: 8
Re: /weaponon /weaponoff command
« Reply #1 on: May 05, 2007, 12:40:33 pm »
What Does The Command Do cos im trying it and nothings happening and i looked in the manual :P and nothing
« Last Edit: May 05, 2007, 01:03:40 pm by The Brain »
................................................. ................................................. .
..................
................................................. .............................
................................................. .......
................................................. .............................
................................................. ..............
................................................. ..............

................................................. ................
................................................. ...........
................................................. ..
................................................. ................................................. ................................................. ................................................. ................................................. ................................................. ................................................. ...............

Offline Psycho

  • Flagrunner
  • ****
  • Posts: 678
  • Decomposing
Re: /weaponon /weaponoff command
« Reply #2 on: May 05, 2007, 09:15:31 pm »
yeah I also think this one should be fixed in the soon to come update
Looking down from ethereal skies

Offline iBhutz

  • Major(1)
  • Posts: 29
Re: /weaponon /weaponoff command
« Reply #3 on: May 06, 2007, 08:41:24 am »
Woah, lemme check it out. Actually never heard of it..

Offline Michal Marcinkowski

  • Creator of Soldat
  • Flagrunner
  • ******
  • Posts: 808
  • I ain't got time to bleed.
    • Soldat home page
Re: /weaponon /weaponoff command
« Reply #4 on: May 06, 2007, 11:15:45 am »
This comamnd doesn't actually disable the weapon on the server it only does it for the players that are there. I'll think if it needs to be modified.

Offline Psycho

  • Flagrunner
  • ****
  • Posts: 678
  • Decomposing
Re: /weaponon /weaponoff command
« Reply #5 on: May 06, 2007, 12:20:35 pm »
well the people that have it disabled can still pick up weapons from dead players that have them enabled, wich makes the command kind of useless as it is now
Looking down from ethereal skies

Offline ctf_worldtour

  • Major(1)
  • Posts: 30
  • banned
    • visit my Homepage
Re: /weaponon /weaponoff command
« Reply #6 on: May 06, 2007, 01:53:51 pm »
hi spycho!

hi solved it this way in script:
i allow for example ussocom and knife sometimes, then if player join i do this:

procedure weapintro();
begin
     command ('/weaponon 1');
     command ('/weaponoff 2');
     command ('/weaponoff 3');
     command ('/weaponoff 4');
     command ('/weaponoff 5');
     command ('/weaponoff 6');
     command ('/weaponoff 7');
     command ('/weaponoff 8');
     command ('/weaponoff 9');
     command ('/weaponoff 10');
     command ('/weaponon 11');
     command ('/weaponon 12');
     command ('/weaponoff 13');
     command ('/weaponoff 14');
end;

procedure OnJoinTeam(ID, Team: byte);
begin
 Nickname := IDToName(ID);
 WriteConsole(0,'beware of Mr. '+Nickname,RGB(0,255,0));
 weapintro();
  ...
 ... to be continued ...
 ...
end

 [Barret]  :o