you could do it alot shorter:
changeWeapon( player , slot )
{
pw = player getWeaponSlotWeapon( slot );
if( isValidWeapon( pw ) ) //check !none, and if you can toggle between...
you could do it alot shorter:
changeWeapon( player , slot )
{
pw = player getWeaponSlotWeapon( slot );
if( isValidWeapon( pw ) ) //check !none, and if you can toggle between...
Maybe your editor messed up the weapon-files (added linebreaks e.g.)? Compare the file sizes, they should have same size :)
Also, another idea, which should work well:
...
You can't. Most weapon settings are not accessible via script. However, you can create a set of weapon files named differently than the stock ones, and switch between them by giving them to the...
Hey, you are welcome!
You can write in callback_playerdamage:
if (attacker playerAds() > 0)
{
attacker iprintlnbold("only hipshots / no aim!");
return;
Yes, B3 would be more usefull. Just install Echelon too and you can see the full alias list.
One name should be pretty easy to save, just reserve the first line for it.
But multiple names are bad:
- longer load/save-time (could be limited, by limiting the number of saved aliases (which...