Mod rifle only + snipe !

Started by dams, May 20, 2005, 11:30:14 AM

Previous topic - Next topic

dams

Hi all

   I have a question is it possible to make a rifle only mod where you can have the sniper and the rifle in the same time????

   My mod rifle if you can modded it ! =>http://dutyclan.maitre-miju.com/index.php?file=Download&op=description&dl_id=1

   Thx a lot all ! ++

Elgan {sfx}

you can give the players the rile maybe with a script like

   

   

   while(1)
   {
   
   for(local.i = 1; local.i <= $player.size; local.i++)
   {
   if($player[local.i] != "axis")
   {
   $player[local.i] give "models/weapons/m1_garand.tik"
   }
   else
   {
   $player[local.i] give "models/weapons/ker98.tik"
   }
   }
   }
   end
   

Alexander the Gr3at

Elgan you made a mistake it should be

   

   $player[local.i] give "models/weapons/kar98.tik"
   

   Not

   

   $player[local.i] give "models/weapons/ker98.tik"
   

   That you wrote.
http://www.mods-r-us.net/datas/users/2320-fosfx.jpg">


dams

Just a precision it's a mod for mohsh ! So i dont know if it word ??

Elgan {sfx}

it wuld work but you would only get them rifles. no others.

   

   and wd for noticing the mistake!

dams

I put the code in map.scr???

   Where ??

   Thx !

Elgan {sfx}

put it in a new .scr say in any folder u like. something sensible. (within main)

   

   then in your map.scr add the line exec THE PATH TO YOUR FILE.scr under waittill prespawn

   

   

   eg

   

   level waittill prespawn

   exec global/rifle.scr

   

   

   then in main u have a folder named global with a script file with the code above in.