15.01.2011, 12:54
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:
Oh and the fix to your code btw
Instead of targetid you put playerid, Also:
i think you didnt do
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]");
Код:
if(!sscanf(params,"ds", targetid, Reason)) return SendClientMessage(playerid,COLOR_RED,"USAGE: /akill [playerid] [reason]");
i think you didnt do
Код:
new targetid;