Commands, some small help ...
#5

maybe don't use strcmp D:

i will write something. i don't know if it will work
pawn Код:
public OnPlayerCommandPerformed(playerid, cmdtext[], success)
{
    if(success) // this check if the command is right.
    {
        if(IsPlayerInAnyDynamicArea(playerid)) return 0; // if player in any dynamic area , the command fail
    }
    return 1;
}
Reply


Messages In This Thread
Commands, some small help ... - by Edvin - 16.05.2012, 15:51
Re: Commands, some small help ... - by Ballu Miaa - 16.05.2012, 15:53
Re: Commands, some small help ... - by Edvin - 16.05.2012, 16:00
Re: Commands, some small help ... - by MichaelProPlayer - 16.05.2012, 16:14
Re: Commands, some small help ... - by Kirollos - 16.05.2012, 16:19
Re: Commands, some small help ... - by Kirollos - 16.05.2012, 16:22
Re: Commands, some small help ... - by Edvin - 16.05.2012, 16:56

Forum Jump:


Users browsing this thread: 4 Guest(s)