Quote:
Originally Posted by PRoSToTeM@
weaponbox too.
|
Kinda unrelated, this tutorial is about armoury_entity, why should I mention that weaponbox can have multiple weapons? It's mentioned in the proper place:
https://forums.alliedmods.net/showthread.php?t=261464
Quote:
Originally Posted by PRoSToTeM@
Maybe better to throw an error? Who will check returned value? (almost always no one checks them)
|
It's the coder job to properly check for return values. He gets burned once, then gets burned twice and finally he learns to look for the returned value.
__________________