[FilterScript] [MySQL R41-4] Dynamic Report System
#10

Quote:
Originally Posted by Dennis12
View Post
why use a 200-character value for a simple reason? Maybe 32 characters were enough.
Code:
new targetid, reason[200], query[300];
    if(sscanf(params, "ds[200]", targetid, reason)) return SendClientMessage(playerid, COLOR_LIGHTBLUE, "[USAGE]: {FFFFFF}/report [targetid] [reason]");
Maybe this:
Code:
new targetid, reason[32], query[300];
    if(sscanf(params, "ds[32]", targetid, reason)) return SendClientMessage(playerid, COLOR_LIGHTBLUE, "[USAGE]: {FFFFFF}/report [targetid] [reason]");
And WTF is with that strings
Code:
new string[2300], rinfo[1000]
It\'s not forbidden using strings with a large array, some cases need those. Maybe the report being made takes lots of characters, willbedie is right.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)