06.02.2009, 10:57
Ok i made two commands, And one is set to say: TXS Usage: /requestland [LS/LV/SF]
And the others supposed to say: %s to LS ATC, Requesting runway clear.
But the first one says: TXS Usage: /requestland [LS/LV/SF] like its supposed to.
But the second one says: TXS Usage: /requestland [LS/LV/SF] when it shouldnt
Why is this?
And the others supposed to say: %s to LS ATC, Requesting runway clear.
But the first one says: TXS Usage: /requestland [LS/LV/SF] like its supposed to.
But the second one says: TXS Usage: /requestland [LS/LV/SF] when it shouldnt
Why is this?
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/mycommand", cmdtext, true, 10) == 0)
{
SendClientMessage(playerid, COLOR_GREY, "TXS Usage: /requestland[LS/LV/SF]");
return 1;
}
if (strcmp("/mycommand1", cmdtext, true, 10) == 0)
{
SendClientMessageToAll(COLOR_GREY, "to LS ATC, is requesting landing.");
return 1;
}
return 0;
}