[HELP] DCMD (/akill)
#2

Firstly: Get SSCANF2, I HIGHLY Recommend it. Its way better than SSCANF1 or Commands with none, SSCANF1 used to Use Too much Memory, so SSCANF2 can now limit the cell number.

Case 1) If you are using SSCANF2 (Thats a plugin) You need to limit the number of cells, Example:
Код:
    if(!sscanf(params,"ds[50]", playerid, Reason)) return SendClientMessage(playerid,COLOR_RED,"USAGE: /akill [playerid] [reason]");
Oh and the fix to your code btw
Код:
    if(!sscanf(params,"ds", targetid, Reason)) return SendClientMessage(playerid,COLOR_RED,"USAGE: /akill [playerid] [reason]");
Instead of targetid you put playerid, Also:

i think you didnt do

Код:
new targetid;
Reply


Messages In This Thread
[HELP] DCMD (/akill) - by Larsey123IsMe - 15.01.2011, 12:51
Re: [HELP] DCMD (/akill) - by DeadAhead - 15.01.2011, 12:54
Re: [HELP] DCMD (/akill) - by Lorenc_ - 15.01.2011, 12:54
Re: [HELP] DCMD (/akill) - by DeadAhead - 15.01.2011, 12:56
Re: [HELP] DCMD (/akill) - by Larsey123IsMe - 15.01.2011, 13:43

Forum Jump:


Users browsing this thread: 2 Guest(s)