I won't do the saving system for you. This can be done via
.
pawn Код:
CMD:rate(playerid, params[])
{
new rate;
if(sscanf(params, "i", rate)); return SendClientMessage(playerid, -1, "USAGE: /rate (1-10)");
{
if(rate < 1 || rate > 10) return SendClientMessage(playerid, -1, "1-10");
new pName[MAX_PLAYER_NAME], string[128];
GetPlayerName(playerid, pName, sizeof(pName));
format(string,sizeof(string), "%s rated %d/10" , pName, rate);
SendClientMessageToAll(-1, string);
//Actual Saving
format(string,sizeof(string), "%d/10", rate);
//Do your save stuff
}
return 1;
}