View Single Post
Old 21/05/2019, 10:55 AM   #8
Big Clucker
Join Date: Oct 2018
Posts: 64
Reputation: 13
Default Re: How to force a command in zcmd

That's not how it works guys...

new parameters[11+1+11+1];
format(parameters, sizeof parameters, "%i %i", id, quantidade);
cmd_pay(playerid, parameters);

The function only allows 2 parameters, player id executing the command and the follow-up parameters as a string. There's a reason you're using sscanf, is there not?
cSharp is offline   Reply With Quote