/carry and /ad command - 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: /carry and /ad command (
/showthread.php?tid=231954)
/carry and /ad command -
xalyy - 26.02.2011
Hi!
How can I make a /carry command what cops can use and it carryies the criminal
And an /advertise command? Plz help me! Thx all
Re: /carry and /ad command -
Ozz - 26.02.2011
hello
you muste use scanf and zcmd to use thise:
Код:
COMAND:ad(playerid, params[])
{
new text;
if(sscanf,params,"s",text) return SendCLientMessage(playerid,color_blue,"/ad [text]");
SendClientMessageToAll(colors_blue,"ads from %s: %s", pname, text);
return 1;
}
if you muste more help, you shall asks me
Re: /carry and /ad command -
xalyy - 26.02.2011
ty and the /carry command

?
Re: /carry and /ad command -
HyperZ - 26.02.2011
@Ozz
It should be:
pawn Код:
if(sscanf,params,"s[128]",text)