View Single Post
Old
  (#13)
Scorpion -]M15F1T[- is Offline
Sergeant 1st Class
 
Posts: 1,664
Join Date: May 2004
Location: Joined: 06 May 2003
   
Default 07-29-2004, 06:30 PM

If you mod a map giving credit to the author is a must as is if you mess with the script Adding modded by... is a good idea.

re giving only the guns you want to allies i screwed up bud i have a script (not my own) that gives only what you want to the player:

thread weapons
thread allweapons


weapons:
level.all_weapons = int(getcvar(all_weapons))
if(level.all_weapons == 1)
{
$player item models/weapons/silencedpistol.tik
$player item models/weapons/springfield.tik
$player item models/weapons/kar98sniper.tik
$player item models/weapons/kar98.tik
$player item models/weapons/m1_garand.tik
}
wait 0.1
goto weapons
end

allweapons:
wait 2
$player stufftext "all_weapons 1"

end

add this in the map script after waittill spawn and change the above weapons to what you want. If i remember right you need to add if dmteam allies or something to the script. I would go to TMT and post in the scripting forum most of the guys there will show you the way beer:
Again props to whoever did the script originally i am still learning lol

Scorp
  
Reply With Quote