06.04.2017, 20:46
Use sscanf, an example is below:
Have a read thrugh those: https://sampwiki.blast.hk/wiki/Fast_Commands
PHP код:
if (sscanf(params, "ui", id, price)) SendClientMessage(playerid, 0xFF0000AA, "Usage: \"/repair <playerid/partname> <price>\"");