Originally Posted by soumyadip77
Please tell me About ArryCreate ArryDestry and all....where we can use and how can need 1 small example
ALREADY READ API
Dynamic arrays are very useful like let's say when you make a plug-in that will censor words. You will read all censored words from the ini file, for each line that was successfully read you would add the word to the dynamic array, because dynamic arrays have an infinite storing amount. Think of an array as a vector that increases with every element that gets added to it. If you would use a normal array instead it would not be a good idea in this case since it's size has to be assigned and can't be infinite. That would mean that reading more than the array size from the file would result in a plug-in 'crash'. Those arrays are also useful in situations like EntMod, where, on the FM_KeyValue registered as post on plugin_precache, you would store all entity keyvalues from the bsp file to a dyn array. Hope that will make you better understand when reading the tutorial. Also, please note that the tutorial is not for beginners so you must first have a good understanding of PAWN language and how to create simple plug-ins.