Wired problem in zcmd..
#6

Quote:
Originally Posted by iggy1
Посмотреть сообщение
I think you need to use OnPlayerCommandRecieved. Returning 0 there will prevent the command from being performed.
Answer

pawn Код:
public OnPlayerCommandReceived(playerid, cmdtext[])
{

    if(!LoggedIn[playerid])
        return !SendClientMessage(playerid,COLOR_GREEN,"You have to login first");

    return 1;
}
Reply


Messages In This Thread
SOLVED - by [D]ry[D]esert - 30.10.2013, 14:15
Re: Wired problem in zcmd.. - by iggy1 - 30.10.2013, 14:17
Re: Wired problem in zcmd.. - by Patrick - 30.10.2013, 14:20
Re: Wired problem in zcmd.. - by [D]ry[D]esert - 30.10.2013, 15:55
Re: Wired problem in zcmd.. - by Konstantinos - 30.10.2013, 16:01
Re: Wired problem in zcmd.. - by Jefff - 30.10.2013, 16:02
Re: Wired problem in zcmd.. - by [D]ry[D]esert - 30.10.2013, 16:06

Forum Jump:


Users browsing this thread: 2 Guest(s)