04.09.2012, 12:31
pawn Код:
CMD:setrpmarks(playerid,params[])
{
new otherid;
new pname[140];
new othername[140];
new inputtext[140];
new rpmarks[10];
GetPlayerName(playerid,pname,sizeof(pname));
GetPlayerName(playerid,othername,sizeof(othername));
if(sscanf(params, "u", otherid, pInfo[playerid][rpmarks])) return SendClientMessage(playerid, White, "USAGE: /setrpmarks [playerid] [marks]");
pInfo[otherid][rpmarks] = rpmarks;
format(string,sizeof(string),"RolePlay Teacher %s has setted your roleplay marks %d",pname,rpmarks);
SendClientMessage(otherid,Yellow,string);
format(string,sizeof(string),"You've setted %s roleplay marks to %d",othername,rpmarks);
SendClientMessage(otherid,Yellow,string);
return 1;
}
even, i set it to 10 or it to any digit
pleaze, fix this problem if you guys can.
i hope, its easy to fix for you guys.


And next to that, don't use "140" because if the arrays become higher and they are not used it will probably make your server lag (afaik) and to let you know the max player name in the server is not more then "24".