How to return 0; on Command using stock?
#1

I've wondering if this is possible through stock function.

I've tried this one but it still executes the command. But there is message

"ERROR: You must be logged in to use this command!"

pawn Код:
stock CL(playerid)
{
    if(pInfo[playerid][LogIn] == 0) return SendClientMessage(playerid, COLOR_RED, "ERROR: You must be logged in to use this command!");
    return 0;
}
I've more than 225 commands!

Any idea?
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)