Another question
#1

Ok this is about ZCMD and DCMD.

When you open pawno and click new, to make a new script, is there any way like that do do it for ZCMD and DCMD?
Reply
#2

dcmd is to OnPlayerCommandText callback
and define it
pawn Код:
#define dcmd(%1,%2,%3) if (!strcmp((%3)[1], #%1, true, (%2)) && ((((%3)[(%2) + 1] == '\0') && (dcmd_%1(playerid, ""))) || (((%3)[(%2) + 1] == ' ') && (dcmd_%1(playerid, (%3)[(%2) + 2]))))) return 1
Reply
#3

Thanks so i think i must add that to the top.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)