30.10.2014, 23:43
You'd have to save their setting using a variable. For example,
pawn Код:
CMD:setwdistance(playerid, params[])
{
if(sscanf(params, "f", distance)) return SendClientMessage(playerid, -1, "USAGE: /setwdistance [Float: distance]");
if(distance >= MAX_DISTANCE) return SendClientMessage(playerid, -1, "Distance too high!");
Distance[playerid] = distance;
new string[64];
format(string, sizeof(string), "Whisper distance set to %f.", distance);
SendClientMessage(playerid, -1, string);
return 1;
}