Author Topic: "remove" Script  (Read 945 times)

Hi, Im REALY new at scripting. Now I want some items (grenades, pills, medkits, ETC.) Not disappear after use.
But I dont know that what I should remove from the server.cs. Please help me out! :cookieMonster:

Hi, Im REALY new at scripting. Now I want some items (grenades, pills, medkits, ETC.) Not disappear after use.
But I dont know that what I should remove from the server.cs. Please help me out! :cookieMonster:
To stop items from dissapearing you can't just 'remove' some text somewhere.
It's a feature of the game.
Granted it can be disabled/overridden.

To stop items from dissapearing you can't just 'remove' some text somewhere.
It's a feature of the game.
Granted it can be disabled/overridden.

It can be made so the item does not disappear. But I haven't looked at the code. Its probably something that says.
RemoveItemOnUse? = true;

Its just my thoughts though.

No, that was the entire point of my post.

To stop items from dissapearing you can't just 'remove' some text somewhere.
It's a feature of the game.
Granted it can be disabled/overridden.
what do you mean granted it can be disabled/overridden... guns do not dissapear after use.
Hi, Im REALY new at scripting. Now I want some items (grenades, pills, medkits, ETC.) Not disappear after use.
But I dont know that what I should remove from the server.cs. Please help me out! :cookieMonster:
Perhaps you should spend some time looking at weapons in general. look for what ISNT in something where it doesent dissapear. Maybe the spear; its a thrown weapon.

Not sure what you guys are talking about.

The 'remove script' is in the server.cs and is not part of the default game.

Ctrl+f for ::onFire and figure it out.

It's more than one line and you can just remove it. You'll have to remove it on all the items.

Thank you this helped much! :cookie: