OnPlayerCommandPerformed question
#1

Hey, if for example, under OnPlayerCommandReceived, I do something like this:

PHP код:
public OnPlayerCommandReceived(playeridcmdtext[])
{
    if(!
PlayerInfo[playerid][pLoggedIn])
    {
        
SendClientMessage(playeridCOLOR_RED"You have to login in order to perform commands.");
        return 
0;
    }
    return 
1;

Would the "return 0" call the function OnPlayerCommandPerformed ?
Reply


Messages In This Thread
OnPlayerCommandPerformed question - by NeXoR - 13.10.2016, 08:54
Re: OnPlayerCommandPerformed question - by Gotham - 13.10.2016, 09:14
Re: OnPlayerCommandPerformed question - by NeXoR - 13.10.2016, 09:16
Re: OnPlayerCommandPerformed question - by Gotham - 13.10.2016, 09:23
Re: OnPlayerCommandPerformed question - by AndySedeyn - 13.10.2016, 09:23

Forum Jump:


Users browsing this thread: 1 Guest(s)