No commands are working :/ (ZCMD)
#1

I've been experiancing this problem, for well... a few hours. I've been trying to work constantly to fix it - no luck. I'll post my shit below...

pawn Код:
#include <zcmd>
#define ALTCOMMAND:%1->%2; COMMAND:%1(playerid, params[]) return cmd_%2(playerid, params);
Command handler:
pawn Код:
public OnPlayerCommandPerformed(playerid, cmdtext[], success)
{
    if(P_TEMP[playerid][loggedin] != 1) return SendClientError(playerid, "You are not logged in!");
    if(!success) return SendClientMessage(playerid, -1, "This {B9C9BF}command{ffffff} has not been found. Please use: {B9C9BF}/commands {ffffff}({B9C9BF}/cmds{ffffff})");
    return 1;
}
Command example:
pawn Код:
COMMAND:forcept(playerid)
{
    if(P_INFO[playerid][PAdmin] < 3) return SendClientError(playerid, CANT_USE_CMD);
    PlayerLoop(p) P_INFO[p][PTime] = 3599;
    return 1;
}
Although, it isn't just this command that's not working. All commands seem inactive..

When I perform a command:





Reply


Messages In This Thread
No commands are working :/ (ZCMD) - by d3ll - 27.07.2014, 16:57
Re: No commands are working :/ (ZCMD) - by SanAndreasMP - 27.07.2014, 17:37
Re: No commands are working :/ (ZCMD) - by d3ll - 27.07.2014, 17:39
Re: No commands are working :/ (ZCMD) - by DaniceMcHarley - 27.07.2014, 17:49
Re: No commands are working :/ (ZCMD) - by d3ll - 27.07.2014, 17:53
Re: No commands are working :/ (ZCMD) - by Dignity - 27.07.2014, 18:06
Re: No commands are working :/ (ZCMD) - by Juvanii - 27.07.2014, 18:30
Re: No commands are working :/ (ZCMD) - by DaniceMcHarley - 27.07.2014, 20:11
Re: No commands are working :/ (ZCMD) - by doodlebob666 - 17.04.2018, 02:15

Forum Jump:


Users browsing this thread: 1 Guest(s)