How to change attachments but not weapon?
I've got a anti-noob mod.
like this:
notube()
{
self endon("death");
self endon("disconnect");
for(;
{
if(isSubStr(self getCurrentWeapon(), "_gl"))
{
self takeWeapon(self getCurrentWeapon());
self sayall("^0Im a noob");
}
wait 0.05;
}
}
I want to just replace the gl by FMJ,but not to take the weapon.
how should i change these codes?
maybe setplayerdata?
please give me a sample~
like this:
notube()
{
self endon("death");
self endon("disconnect");
for(;

{
if(isSubStr(self getCurrentWeapon(), "_gl"))
{
self takeWeapon(self getCurrentWeapon());
self sayall("^0Im a noob");
}
wait 0.05;
}
}
I want to just replace the gl by FMJ,but not to take the weapon.
how should i change these codes?
maybe setplayerdata?
please give me a sample~

