16.01.2014, 19:34
depends if you're using ZCMD.. Your commands like "CMD:..."?
or like this:
If that like this above me, then use this onplayercommandtext.
or
Don't forget to rep+
or like this:
pawn Код:
if(strcmp(cmd, "/commandhere", true) == 0) {
pawn Код:
if(strcmp(cmd, "/changelog", true) == 0) {
{
SendClientMessage(playerid, 0xFFFFFFAA, "*****************************************");
SendClientMessage(playerid, 0xFFFFFFAA, "Your title here"");
SendClientMessage(playerid, 0xFFFFFFAA, "* Text Here!");
SendClientMessage(playerid, 0xFFFFFFAA, "* Text Here!");
SendClientMessage(playerid, 0xFFFFFFAA, "* Text Here!");
SendClientMessage(playerid, 0xFFFFFFAA, "* Text Here!");
SendClientMessage(playerid, 0xFFFFFFAA, "*****************************************");
return 1;
}
pawn Код:
else if(strcmp(cmdtext, "changelog", true) == 0)
{
SendClientMessage(playerid, 0xFFFFFFAA, "*****************************************");
SendClientMessage(playerid, 0xFFFFFFAA, "Your title here"");
SendClientMessage(playerid, 0xFFFFFFAA, "* Text Here!");
SendClientMessage(playerid, 0xFFFFFFAA, "* Text Here!");
SendClientMessage(playerid, 0xFFFFFFAA, "* Text Here!");
SendClientMessage(playerid, 0xFFFFFFAA, "* Text Here!");
SendClientMessage(playerid, 0xFFFFFFAA, "*****************************************");
return 1;
}
