OnPlayerCommandPerformed Problem
#1

pawn Код:
public OnPlayerCommandPerformed(playerid, cmdtext[], success)
{
    if(GetPVarInt(playerid, "UsingKillstreak") == 1) return SendError(playerid, "You cannot use command while using a killstreak");
    return 1;
}
Hello, while using ZCMD I noticed that 'OnPlayerCommandPerformed' was the new 'OnPlayerCommandText'.
This failed to work, I can still type the command...
Does anyone have a fix for this?
Reply


Messages In This Thread
OnPlayerCommandPerformed Problem - by Lorenc_ - 17.07.2011, 10:18
Re: OnPlayerCommandPerformed Problem - by Vince - 17.07.2011, 10:19
Re: OnPlayerCommandPerformed Problem - by Lorenc_ - 17.07.2011, 10:25

Forum Jump:


Users browsing this thread: 1 Guest(s)