30.03.2018, 19:55
What I meant is how to create a custom limit, like this:
But now how do I process the arrow IDs so it will start counting.
For example, in a command: /setarrow, how do I count the id of the arrows on every arrow set.
Like, I create an arrow, it becomes arrow id 0, then I create another one it becomes id 1 and so on and so forth.
I hope I am understood.
PHP код:
#define MAX_ARROWS
enum Arrowinf
{
arrow,
Float:Posx,
Float:Posy,
Float:Posz,
Float:Rotat,
}
new ArrowInfo[MAX_ARROWS][Arrowinf];
For example, in a command: /setarrow, how do I count the id of the arrows on every arrow set.
Like, I create an arrow, it becomes arrow id 0, then I create another one it becomes id 1 and so on and so forth.
I hope I am understood.