18.12.2016, 18:40
Something like this:
pawn Code:
new id, Float: range, money;
if (!sscanf(params, "fi", range, money))
{
// code..
}
else if (!sscanf(params, "ri", id, money))
{
// code..
}
else SendClientMessage(playerid, -1, "Usage: /giveweapon [playerid/range] [money]");