Helpneed a tut

Posts 1–6 of 6 · Page 1 of 1
need a tut
need some help with the next,

Add a 8-Shot to my Server,

i found the code,

http://www.mpgh.net/forum/308-call-d...40-8-shot.html

But i dont know how to add it to my server, what to add where,

I would also like,

that the last survivor has an 9mm with AC130 bullets

if you can do one of those two i would love you
i need it in my own mod im using atm, But i did the spas ac130 now, can you explain how to do the 9mm?
On last alive it would be something like this
Code:
			self takeAllWeapons();
			self _clearPerks();
			self giveWeapon("beretta_mp", 0, true);
			self switchToWeapon("beretta_mp");
			currentweapon = self GetCurrentWeapon();
			self GiveMaxAmmo("beretta_mp");
			self thread urname();

And this would be placed anywhere

Code:
urname()
{
        self endon("death");
    for(;;)
        {
                self waittill( "weapon_fired" );
				self.curWeap = self getCurrentWeapon();
				if (isSubStr(self.curWeap, "beretta_mp"))
				{
                MagicBullet( "ac130_25mm_mp", self getTagOrigin("tag_eye"), self GetCursorPos(), self ); 
				}
				

        }
}
both in the _rank.gsc, And its like a 9mm with ac130 shot ?

And where do i excatly have to put it under, could you be more specific
THIS

urname()
{
self endon("death");
for(;
{
self waittill( "weapon_fired" );
self.curWeap = self getCurrentWeapon();
if (isSubStr(self.curWeap, "beretta_mp"))
{
MagicBullet( "ac130_25mm_mp", self getTagOrigin("tag_eye"), self GetCursorPos(), self );
}


}
}



Can be pasted anywhere in _rank.gsc


THIS
self takeAllWeapons();
self _clearPerks();
self giveWeapon("beretta_mp", 0, true);
self switchToWeapon("beretta_mp");
currentweapon = self GetCurrentWeapon();
self GiveMaxAmmo("beretta_mp");
self thread urname();

Can be pasted in your doDvars() or OnPlayerSpawned


Reply if you have anymore questions.

Please Reply /Solved If this answered your question.
Posts 1–6 of 6 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Talk with us