31.10.2013, 13:16
Today i learned About Enums and isnull, isnull is used to check if is nothing params of a cmd or to check whether smthing is typed. Enum are used to store hugr amount of data.
with this code
with this code
pawn Код:
if( isnull (params) ) // for ISNULL
/* ---------------------------------------------------- */
enum whattolearn
{
english,
pawnlanguage,
martianlanguage,
badlanguage
};
new lang [] [whattolearn]
/* don't try my ENUM example :P */