moveobject help
#4

pawn Код:
COMMAND:open gov123(playerid, params[])
Convert to:
pawn Код:
COMMAND:open(playerid, params[])
{
    if(isnull(params))
    {
        SendClientMessage(playerid, -1, "Type: /open (password)");
        return true;
    }
   
    if(!strcmp(params, "gov123", false))
    {
        // Open gate lines.
    }
    return true;
}
Do the same with close command. However, I rather use sscanf for it.
Reply


Messages In This Thread
moveobject help - by Mattakil - 07.04.2013, 17:23
Re: moveobject help - by Mattakil - 07.04.2013, 18:18
Re: moveobject help - by SilverKiller - 07.04.2013, 19:20
Re: moveobject help - by Riddick94 - 07.04.2013, 19:35
Re: moveobject help - by ReVo_ - 07.04.2013, 19:36

Forum Jump:


Users browsing this thread: 1 Guest(s)