Blocking a command
#5

Quote:
Originally Posted by [L3th4l]
Посмотреть сообщение
That's not it, and it should be like that.
It is actually, Your coding isn't working, He's also told you where it is... Review it, and test it before saying it doesn't work

Код:
if(!IsPlayerConnected(i) || IsPlayerNPC(i) || !pConcerned[i]) continue;
		{
			if(pDKCount[i] >= 20) // High Kills
Notice they use normal brackets and square brackets... You have { } in your code.

Your code... is wrong.

and this guys...

Quote:
Originally Posted by bigcomfycouch
Посмотреть сообщение
pawn Код:
public OnPlayerCommandReceived( playerid, cmdtext[ ] )
{
    if ( pInEvent{ playerid } )
    {
        SendClientMessage( playerid, 0xFF000000, "You cannot use commands whilst in an event!" );
        return 0;
    }
    return 1;
}

public OnPlayerCommandPerformed( playerid, cmdtext[ ], success )
{
    return success;
}
is even wrong in the same area... Don't just copy paste and edit...
Reply


Messages In This Thread
Blocking a command - by [L3th4l] - 03.01.2011, 01:25
Re: Blocking a command - by Scenario - 03.01.2011, 01:35
Re: Blocking a command - by [L3th4l] - 03.01.2011, 01:42
Re: Blocking a command - by bigcomfycouch - 03.01.2011, 01:52
Re: Blocking a command - by Sew_Sumi - 03.01.2011, 01:53
Re: Blocking a command - by iFriSki - 03.01.2011, 02:04
Re: Blocking a command - by [L3th4l] - 03.01.2011, 02:19
Re: Blocking a command - by leong124 - 03.01.2011, 03:21
Re: Blocking a command - by Sew_Sumi - 09.01.2011, 19:51
Re: Blocking a command - by John_F - 09.01.2011, 20:20

Forum Jump:


Users browsing this thread: 2 Guest(s)