08.03.2011, 10:20
You realy shouldn 't use strcmp for commands, especially with multiple languages it mean alot more string comparisons.
Very unefficient compared to y_commands or zcmd.
pawn Code:
if (strcmp("/kill", cmdtext, true, 10) == 0 || strcmp("/killinanotherlanguage", cmdtext, true, 10) == 0)
{
SetPlayerHealth(playerid,0);
SendClientMessage(playerid, You suck);
return 1;
}