08-03-2011, 15:11
Hello, After taking a look at the "Converting SP weapons into MP I checked it out. I did all the steps it told me too and I tried it in-game. Instead I got the "DEFAULT WEAPON."
Here are some main points in my code:
mod.csv:
_rank.gsc:
Help please!!!
Here are some main points in my code:
mod.csv:
Code:
menufile,ui_mp/scriptmenus/mod_menu.menu
weapon,mp\ray_gun_zm
Code:
precacheItem("ray_gun_zm");
Code:
giveRandomWeapon()
{
weaponList = [];
weaponList[weaponList.size] = "SPAS_mp";
weaponList[weaponList.size] = "rottweil72_mp";
weaponList[weaponList.size] = "Ithaca_mp";
weaponList[weaponList.size] = "hs10_mp";
weaponList[weaponList.size] = "ray_gun_zm";
weapon = weaponList[randomInt( weaponList.size )];
self giveWeapon( weapon );
self switchToWeapon( weapon );
}
Add me on steam! otterm