Weed System Help Fast In need it 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: Weed System Help Fast In need it fast (
/showthread.php?tid=572802)
Weed System Help Fast In need it fast -
Toxik - 01.05.2015
Hey guys i just started to make a Weed System so i decide to ask you how can i make command
/giveseeds id aumount
pawn Код:
COMMAND:giveseeds(playerid)
{
if(!IsPlayerAdmin(playerid)) SendClientMessage(playerid,COLOR_GREY,"INFO: Un-authorized access to this command.");
GiveSeeds(playerid);
return 1;
}
Re: Weed System Help Fast In need it fast -
giorgosdim12 - 02.05.2015
use sscanf.
if (sscanf(params, "ui", playerid,aumount)){
SendClientMessage(playerid,-1,"Use:/giveseeds [PlayerID] [Aumount]");
}