SA-MP Forums Archive
zcmd usage message problem need hep fast - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: zcmd usage message problem need hep fast (/showthread.php?tid=317132)



zcmd usage message problem need hep fast - V_LOPE - 10.02.2012

Hey,
i make the command but when i write the the command it always return Usage Message.

pawn Код:
new tmp[256], tmp2[256];
if (sscanf(params, "u", tmp, tmp2)) return SendClientMessage(playerid, red, "USAGE: /setspree [playerid] [spree]");
what's wrong?


Re: zcmd usage message problem need hep fast - [ABK]Antonio - 10.02.2012

pawn Код:
new targetid, spree;
if(sscanf(params, "ui", targetid, spree)) return SendClientMessage(playerid, red, "USAGE: /setspree [playerid] [spree]");
This would be if spree is a number and you're using playerid/partofname

u = playerid / part of name specifier
i = integer specifier


Re: zcmd usage message problem need hep fast - V_LOPE - 10.02.2012

the problem is still there.


Re: zcmd usage message problem need hep fast - [ABK]Antonio - 10.02.2012

are you entering a playerid or name and a number?


Re: zcmd usage message problem need hep fast - V_LOPE - 10.02.2012

I Enter This : /spree [my id] [number].
EDIT: I Enter My Name too but the problem still there,