CONFUSING ERRORS
#2

put this onplayercommandtext

pawn Code:
dcmd(vcall, 5, cmdtext); //vcall - length of the command, 5
dcmd(vunbuyable, 10, cmdtext); //vunbuyable - length of the command, 10
make sure you have this

pawn Code:
#define dcmd(%1,%2,%3) if ((strcmp((%3)[1], #%1, true, (%2)) == 0) && ((((%3)[(%2) + 1] == 0) && (dcmd_%1(playerid, "")))||(((%3)[(%2) + 1] == 32) && (dcmd_%1(playerid, (%3)[(%2) + 2]))))) return 1
Reply


Messages In This Thread
CONFUSING ERRORS - by Windrush - 17.08.2012, 12:52
Re: CONFUSING ERRORS - by JaKe Elite - 17.08.2012, 12:56
Re: CONFUSING ERRORS - by Naruto_Emilio - 17.08.2012, 12:58
Re: CONFUSING ERRORS - by Windrush - 17.08.2012, 13:06
Re: CONFUSING ERRORS - by Admigo - 17.08.2012, 13:09
Re: CONFUSING ERRORS - by Windrush - 17.08.2012, 13:13
Re: CONFUSING ERRORS - by Admigo - 17.08.2012, 13:19
Re: CONFUSING ERRORS - by Windrush - 17.08.2012, 13:24
Re: CONFUSING ERRORS - by Windrush - 17.08.2012, 13:35
Re: CONFUSING ERRORS - by N0FeaR - 17.08.2012, 17:49

Forum Jump:


Users browsing this thread: 2 Guest(s)