need Answer for this questions please
#4

Well, for the first one, it kind of depends on which command processor you're using. If you're using the standard, OnPlayerCommandText(), I think this would work:

pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
    if(pLogged[playerid] == false)
        return SendClientMessage(playerid, COLOR_RED, "ERROR: You aren't logged in yet, moron!");

    return 0;
}
If you're using ZCMD/y_commands, you could do this:

pawn Код:
public OnPlayerCommandReceived(playerid, cmdtext[])
{
    if(pLogged[playerid] == false)
         return SendClientMessage(playerid, COLOR_RED, "ERROR: You aren't logged in yet, moron!"), 0;

        return 1;
}
As for the second thing: just learn how to use SSH to start/stop the server, and how to use "nano" to edit the server.cfg.
Reply


Messages In This Thread
need Answer for this questions please - by IbeatS - 22.02.2014, 21:22
Re: need Answer for this questions please - by Ryan_Undering - 22.02.2014, 21:51
Re: need Answer for this questions please - by Mattakil - 22.02.2014, 22:45
Re: need Answer for this questions please - by Scenario - 23.02.2014, 05:01
Re: need Answer for this questions please - by IbeatS - 26.02.2014, 17:34

Forum Jump:


Users browsing this thread: 2 Guest(s)