20.11.2011, 17:09
A big mistake that I have seen thousand times.
Many people use it like this
in many commands.
For example:
Isn't 2 or 10. It's
".." / >1 || a >2 || k >3
Many people use it like this
pawn Код:
if (strcmp("/command", cmdtext, true, 10) == 0)
For example:
pawn Код:
if (strcmp("/ak", cmdtext, true, 10) == 0)
// Or
if (strcmp("/ak", cmdtext, true, 2) == 0)
pawn Код:
if (strcmp("/ak", cmdtext, true, 3) == 0)