if(!strcmp(\"/korozes\", cmdtext, true))
{
new maxp = GetMaxPlayers(), string[128] = \"Körözöttek: \", name[MAX_PLAYER_NAME];
for(new i; i < maxp; i++)
{
if(IsPlayerConnected(i) && GetPVarInt(i, \"Korozes\"))
{
GetPlayerName(i, name, MAX_PLAYER_NAME);
format(string, \"%s%s, \", string, name);
}
}
SendClientMessage(playerid, COLOR_CEKLAKEK, string);
return 1;
}
kijavitottam a hibákat, maradt 1.
munkascript.pwn(52) : error 035: argument type mismatch (argument 2)
52-es sor:
format(string, \"%s%s, \", string, name);
:shy: