sscanf warning: Strings without a length are deprecated, please add a destination size.
sscanf warning: Format specifier does not match parameter count.
CMD:asay(playerid,params[]) // Admin Chat.
{
new string[128];
if( GetPVarInt( playerid, \"Adminszint\" ) >= 1 )
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(GetPVarInt(i, \"Adminszint\") >= 1 )
{
if(sscanf(params,\"string[128]\",string)) return SendClientMessage(playerid, HIBA,\"Használat: /asay [ Admin Chat ]\");
{
GetPlayerName(playerid, Nev, MAX_PLAYER_NAME);
format(string, sizeof(string), \"{00FF00}(Admin-Chat)%s: {00FF00}%s\", Nev, params);
SendClientMessage(i, COLOR_GREY, string);
}
}
}
return 1;
}
Valaki rámutatna a hibára?