Quote:
Originally Posted by thEsp
Fun (off-topic) fact: Pawn is a type-less scripting language and for this matter, a string is a character array, not a true string (as in C++) per see. So, integers and chars are virtually the same.
Code:
register_plugin(0, 0, 0); // error!
register_plugin("...", "...", "..."); // success!
register_plugin({0}, {0}, {0}); // success!
|
Characters are encoded as integers(more specifically the value from the ascii table for that character). {0} translates to the string made from only one character: the character with an ascii value of 0.
__________________