04.03.2012, 13:57
hello guy..
how to make like this when i make /cmds command ?
sorry for my bad english.
how to make like this when i make /cmds command ?
sorry for my bad english.
public OnPlayerCommandText(playerid, cmdtext[])
{
if(!strcmp(cmdtext, "/cmds", true, 5)) // 3 is the length of /me
{
SendClientMessage(playerid,COLOR_WHITE,"Commands on my server:");
SendClientMessage(playerid,COLOR_WHITE,"/cmd1, /cmd2, /cmd3");
return 1;
}
return 0;
}