ho i can change this command
#5

Quote:
Originally Posted by Sew_Sumi
Посмотреть сообщение
He does if he doesn't want people who haven't logged into the authentication system he is using, using a command.
Incorrect, you can easily use the OnPlayerCommandPerformed callback, and the same thing too for OnPlayerText

Код:
public OnPlayerCommandPerformed(playerid, cmdtext[], success)
{

        if(gPlayerLogged[playerid] == 0) return SendClientMessage(playerid, COLOR_LIGHTRED, "You need to log in first.");

	return 1;

}
Reply


Messages In This Thread
ho i can change this command - by ShadowBlack - 29.04.2018, 20:05
Re: ho i can change this command - by Sew_Sumi - 29.04.2018, 21:20
Re: ho i can change this command - by CodeStyle175 - 29.04.2018, 22:20
Re: ho i can change this command - by Sew_Sumi - 30.04.2018, 00:57
Re: ho i can change this command - by git - 04.05.2018, 06:40
Re: ho i can change this command - by Logic_ - 04.05.2018, 06:45
Re: ho i can change this command - by git - 04.05.2018, 06:51
Re: ho i can change this command - by Dayrion - 04.05.2018, 07:00
Re: ho i can change this command - by Sew_Sumi - 04.05.2018, 07:21

Forum Jump:


Users browsing this thread: 1 Guest(s)