Cmd help
#2

You will need to add another letter to the sscanf, like this:

pawn Код:
if(sscanf(params, "dud", type, targetid, amount)) return SendClientMessage(playerid, -1, "[Usage]: /giveweed [Type] [Part of Name/Player ID] [Amount]");
It's up to you what you do with the extra parameter.
Reply


Messages In This Thread
Cmd help - by Michael_Cuellar - 29.04.2013, 05:37
Re: Cmd help - by MattyG - 29.04.2013, 06:24

Forum Jump:


Users browsing this thread: 3 Guest(s)