28.04.2018, 02:29
Yes using sscanf is correct but there's already a built-in function for that, there's no need for looping and such.
PHP код:
if(sscanf(params, "?<CELLMIN_ON_MATCHES=1>u", target)) return SendClientMessage(playerid, -1, "Usage: /wave");
if(target == cellmin) return SendClientMessage(playerid, -1, "[ERROR]: Multiple users found.");