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 ! ++
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
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.
Just a precision it's a mod for mohsh ! So i dont know if it word ??
it wuld work but you would only get them rifles. no others.
and wd for noticing the mistake!
I put the code in map.scr???
Where ??
Thx !
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.