How to make GM with 2 languages?
#10

You realy shouldn 't use strcmp for commands, especially with multiple languages it mean alot more string comparisons.

pawn Code:
if (strcmp("/kill", cmdtext, true, 10) == 0 || strcmp("/killinanotherlanguage", cmdtext, true, 10) == 0)
{
    SetPlayerHealth(playerid,0);
    SendClientMessage(playerid, You suck);
    return 1;
}
Very unefficient compared to y_commands or zcmd.
Reply


Messages In This Thread
How to make GM with 2 languages? - by Gotti_ - 08.03.2011, 06:31
Re: How to make GM with 2 languages? - by thiaZ_ - 08.03.2011, 06:38
Re: How to make GM with 2 languages? - by Davz*|*Criss - 08.03.2011, 06:39
Re: How to make GM with 2 languages? - by Gotti_ - 08.03.2011, 07:16
Re: How to make GM with 2 languages? - by Gotti_ - 08.03.2011, 09:28
Re: How to make GM with 2 languages? - by iggy1 - 08.03.2011, 09:38
Re: How to make GM with 2 languages? - by Gotti_ - 08.03.2011, 09:56
Re: How to make GM with 2 languages? - by iggy1 - 08.03.2011, 10:04
Re: How to make GM with 2 languages? - by Gotti_ - 08.03.2011, 10:15
Re: How to make GM with 2 languages? - by iggy1 - 08.03.2011, 10:20

Forum Jump:


Users browsing this thread: 1 Guest(s)