16.05.2014, 20:15
You could also use:
I'm not an experienced scripter, but this is a simple strcmp cmd.
Код:
if(strcmp(cmd, "/anexample", true) == 0 || strcmp(cmd, "/ae", true) == 0) // /ae is a shortener for /anexample { if(IsPlayerConnected(playerid)) { SendClientMessage(playerid, COLOR_RED, "_____________________________________An Example Help List Commands_____________________________________"); SendClientMessage(playerid, COLOR_GREEN,"Commands{FFFFFF}: content"); SendClientMessage(playerid, COLOR_GREEN,"Commands{FFFFFF}: content"); SendClientMessage(playerid, COLOR_GREEN,"Commands{FFFFFF}: content"); SendClientMessage(playerid, COLOR_RED, "_______________________________________________________________________________________________________"); } }