Author Topic: M79 Script...  (Read 4254 times)

0 Members and 1 Guest are viewing this topic.

Offline XNickX

  • Major(1)
  • Posts: 31
Re: M79 Script...
« Reply #20 on: July 13, 2009, 07:05:12 am »
   Thanks a lot but ja still need unlimited grenades. For the SCRIPT thanks. But I do not know with these grenades. Too pls ...  :-X

DarkCrusade

  • Guest
Re: M79 Script...
« Reply #21 on: July 13, 2009, 07:41:09 am »
Open the script. There should be a line where you can configure how many seconds you have to wait until you get a new grenade. Change that line and you will be done. You can make grenades to clusters by doing LOL = 1 also, so have fun with it, you don´t need another script.

Offline XNickX

  • Major(1)
  • Posts: 31
Re: M79 Script...
« Reply #22 on: July 13, 2009, 09:30:36 am »
   I wrote it :-( Please could you guide me how to do these things:

1. Unlimited grenades
2. I die my grenades or M79. Pls... :'(

DarkCrusade

  • Guest
Re: M79 Script...
« Reply #23 on: July 13, 2009, 01:37:05 pm »
I gave you the link to the script. You need to install it right on your server and I don´t know how, so PM someone like Curt (Dorkey Dear), Bombski or maybe Zakath, the guys who are holding servers.

Offline Shard

  • Camper
  • ***
  • Posts: 449
  • yeet
Re: M79 Script...
« Reply #24 on: July 13, 2009, 02:21:44 pm »
About the giant word fail you appear to have changed it

DarkCrusade

  • Guest
Re: M79 Script...
« Reply #25 on: July 13, 2009, 02:42:40 pm »
That´s what you should do with your text, too, use the spell check please ;)

OnTopic: So you want to set up a M79 Freestyle server, too?

Offline Hacktank

  • Camper
  • ***
  • Posts: 462
  • Soldat Scripter
    • HTZRPG
Re: M79 Script...
« Reply #26 on: July 13, 2009, 04:52:02 pm »
Niko, you need to check if the player is active in your apponidle loop.


Offline ~Niko~

  • Rainbow Warrior
  • *****
  • Posts: 2410
Re: M79 Script...
« Reply #27 on: July 13, 2009, 05:09:36 pm »
Niko, you need to check if the player is active in your apponidle loop.
Sure, it was a fastjob, I'll rewrite it now.

EDIT: Here you go:

Code: [Select]
procedure AppOnIdle(Ticks: integer);
var i: Byte;
begin
for i := 1 to 32 do begin
if (GetPlayerStat(i,'Active') = True) and (GetPlayerStat(i,'Grenades') < 4) then GiveBonus(i, 4);
end;
END;

function OnPlayerDamage(Victim, Shooter: byte; Damage: integer): integer;
begin
Damage := 0;
END;

^Deleted post above
« Last Edit: July 13, 2009, 05:15:05 pm by ~Niko~ »

Offline XNickX

  • Major(1)
  • Posts: 31
Re: M79 Script...
« Reply #28 on: July 14, 2009, 12:50:47 am »
The SCRIPT DarkCrusade since I have given here:

And it does not work :-(...

Offline ~Niko~

  • Rainbow Warrior
  • *****
  • Posts: 2410
Re: M79 Script...
« Reply #29 on: July 14, 2009, 05:50:35 am »
make sure that in server.ini Scripting=1, otherwise you won't be able to run any script.


Offline XNickX

  • Major(1)
  • Posts: 31
Re: M79 Script...
« Reply #30 on: July 14, 2009, 12:10:34 pm »
Super thanks to the power but there is one problem how to do that now from the beginning of each player in each hand gun M79? :-[

DarkCrusade

  • Guest
Re: M79 Script...
« Reply #31 on: July 14, 2009, 12:22:48 pm »
Well, at the moment that is my problem, too, but you can get two if you drop your first M79, kill yourself and take the dropped one.

Offline XNickX

  • Major(1)
  • Posts: 31
Re: M79 Script...
« Reply #32 on: July 14, 2009, 12:40:13 pm »
   I know ... but it's quite a problem for me because the players do not know it;)

Offline croat1gamer

  • Veteran
  • *****
  • Posts: 1327
  • OMG CHANGING AVATAR!!! ^ω^
Re: M79 Script...
« Reply #33 on: July 14, 2009, 02:09:38 pm »
Is the server version 2.6.4 like the folder name, or is it 2.6.5?
If it is 2.6.4 then QUICKLY upgrade the server to 2.6.5 as the script wont work (ForceWeapon bug in 2.6.4)
Last year, I dreamt I was pissing at a restroom, but I missed the urinal and my penis exploded.

Offline XNickX

  • Major(1)
  • Posts: 31
Re: M79 Script...
« Reply #34 on: July 14, 2009, 02:19:39 pm »
2.6.5

Offline XNickX

  • Major(1)
  • Posts: 31
Re: M79 Script...
« Reply #35 on: July 16, 2009, 03:00:04 pm »
Pls help me ...?  :'( :'( :'(

Offline croat1gamer

  • Veteran
  • *****
  • Posts: 1327
  • OMG CHANGING AVATAR!!! ^ω^
Re: M79 Script...
« Reply #36 on: July 16, 2009, 03:28:35 pm »
Can you post here the scripts that you have on your server, there might be a bug.
Last year, I dreamt I was pissing at a restroom, but I missed the urinal and my penis exploded.

Offline XNickX

  • Major(1)
  • Posts: 31
Re: M79 Script...
« Reply #37 on: July 17, 2009, 01:23:42 am »
What script?

Offline ~Niko~

  • Rainbow Warrior
  • *****
  • Posts: 2410
Re: M79 Script...
« Reply #38 on: July 17, 2009, 07:48:38 am »
ALL scripts... Just zip your whole /scripts folder and upload it here.

Offline XNickX

  • Major(1)
  • Posts: 31
Re: M79 Script...
« Reply #39 on: July 17, 2009, 11:45:58 am »
OK Here it is ...  ;)