Weed System Help Fast In need it fast
#1

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;
}
Reply
#2

use sscanf.
if (sscanf(params, "ui", playerid,aumount)){
SendClientMessage(playerid,-1,"Use:/giveseeds [PlayerID] [Aumount]");
}
Reply


Forum Jump:


Users browsing this thread: