You can do it this way, Add the other weapon you wanted in another line in the top of your main func under [ local.sniper ] and name it [ local.sniper2 ]
like this => [ local.sniper2 = "models/weapons/KAR98sniper.tik" ]
Then change those lines:if(local.weap != local.sniper && local.weap != local.pistol && local.weap != local.grenade)
{
self takeall
waitframe
self give local.sniper
self give local.pistol
self give local.grenade
waitframe
self use local.sniper
}
To this:if (self.dmteam == "allies")
{
if(local.weap != local.sniper && local.weap != local.pistol && local.weap != local.grenade)
{
self takeall
waitframe
self give local.sniper
self give local.pistol
self give local.grenade
waitframe
self use local.sniper
}
}
else
{
if(local.weap != local.sniper2 && local.weap != local.pistol && local.weap != local.grenade)
{
self takeall
waitframe
self give local.sniper2
self give local.pistol
self give local.grenade
waitframe
self use local.sniper2
}
}
This should give different sniper for each team, i think :-)
BTW, You can find all you need by searching in google and forums, you can also find plenty mods for weapons in AAAA database like weapon limiters etc, you just need to start searching and maybe learning morpheus in the way.