17.10.2017, 14:55
Quote:
At times like these, one wishes pawn supported classes, it would have made our lives much easier. But hey, a good developer is one who works around problems with what he/she has.
Dignity's method is the most approachable I'd say. PHP код:
PHP код:
PHP код:
Would like to be corrected if I'm mistaken. |
Still got more questions now; is there a limit to the amount of items used if I use that method? For example, if I use these stats;
- 60 playes playing at the same time, they can carry a maximum of 30 items each
- 20 vehicles in-game, with an average loading capacity of 20 items each
- Roughly 800 dropped items in-game
Would be a total of 3000 items and thus enums. Would this be doable or would it be a big stress on the server?
And how should I link the item to the player?