13.09.2016, 12:01
Erm what?
I understand this is created for newbies, but give me a good reason why they shouldn't learn doing something like this?
*Note: that exact code might not work (probably will tho) since I wrote it here, but yeah, you actually can use powerful features of sscanf like enum and arrays to do these for you.
I understand this is created for newbies, but give me a good reason why they shouldn't learn doing something like this?
PHP код:
sscanf(item_info, "p<|>a<ii>["#MAX_INVENTORY_ITEMS"]", aInventory[playerid]);