Reasons aren't showing
#5

Quote:
Originally Posted by [vRP
LeeWasabi ]
dcmd(ban, 1, cmdtext);
dcmd(kick, 2, cmdtext);
dcmd(report, 3, cmdtext);

Did you put those??
correctly, those look like this:
dcmd(ban, 3, cmdtext);
dcmd(kick, 4, cmdtext);
dcmd(report, 6, cmdtext);

and in the kick and ban command, you need to put the
giveplayerid == playerid
check after getting the command parameters with sscanf, otherwise, giveplayerid will always be 0.
Reply


Messages In This Thread
Reasons aren't showing - by _Vortex - 07.09.2009, 06:11
Re: Reasons aren't showing - by NEW_IE - 07.09.2009, 07:00
Re: Reasons aren't showing - by _Vortex - 07.09.2009, 15:18
Re: Reasons aren't showing - by urkiefly101 - 07.09.2009, 15:24
Re: Reasons aren't showing - by Clavius - 07.09.2009, 15:45
Re: Reasons aren't showing - by _Vortex - 07.09.2009, 15:51
Re: Reasons aren't showing - by Zeex - 07.09.2009, 16:24
Re: Reasons aren't showing - by _Vortex - 07.09.2009, 16:42
Re: Reasons aren't showing - by dice7 - 07.09.2009, 16:50
Re: Reasons aren't showing - by _Vortex - 07.09.2009, 23:55

Forum Jump:


Users browsing this thread: 1 Guest(s)