11.07.2013, 12:13
Hey! I tried to add strlen to my command so users can't enter strings larger than 24 characters. This code won't work, and I have no idea why.
Does anyone know what to add so it will work?
Код:
if(sscanf(params, "s[24]", params)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /bizname [name]"); if(strlen(params) > 24) return SendClientMessage(playerid, COLOR_GREY, "Maximum character limit is 24.");