Quote:
Originally Posted by tigocesar
Your plugin is awesome. I did a test and added a few more items and it worked. Is it possible to spawn a special infected instead of an item? If so, can you tell me what names I have to use? I want to give a bad gift to the players too: P
Q: If I want to add the incendiary / explosive package, do I have to use upgradepack_explosive / incendiary or is there another name for these items?
|
The names of the weapons are used as they are used when spaaming weapons by the "give" command
If you want explosive boxes use weapon_upgradepack_explosive or simply upgradepack_explosive
If you want incendiary boxes use weapon_upgradepack_incendiary or simply upgradepack_incendiary
Now the plugin only gives weapons, then I could implement that although in the cooperative servers it is not pleasant. But you can add a probability of infected spawn cvar or better another type of gift, and instead of the GiveWeapon function it could be SpawnInfected (client, String: infected).
It's a good idea and it could be in an update that works in game mode versus.
Greetings.
__________________