Why does it say unknown command?
#1

Now I get Untitled.pwn(10 : warning 225: unreachable code, line 108 is the /gotoarea51 one.
pawn Код:
{
    if (strcmp("/gotolp", cmdtext, true, 10) == 0)
    {
        if(IsPlayerAdmin(playerid))
        SendClientMessage(playerid,YELLOW, "(INFO) You have been teleported to Las Payasadas!");
        SetPlayerPos(playerid,-247.7184,2692.8208,62.6875);
        return 1;
        }
        else
        SendClientMessage(playerid,YELLOW, "(INFO) This command is for administrators only!");
    {
        return 1;
    }
    if (strcmp("/gotoarea51", cmdtext, true, 10) == 0)
Reply


Messages In This Thread
Unreachable code, help. - by BigGroter - 11.11.2011, 16:45
Re: Why does it say unknown command? - by Calgon - 11.11.2011, 16:46
Re: Why does it say unknown command? - by BigGroter - 11.11.2011, 16:52
Re: Why does it say unknown command? - by Mean - 11.11.2011, 18:07
Re: Why does it say unknown command? - by Chrillzen - 11.11.2011, 18:08

Forum Jump:


Users browsing this thread: 2 Guest(s)