Bocs,télleg kihagytam ujrateszem az egészet:
DD.pwn(117) : error 012: invalid function call, not a valid address
DD.pwn(117) : warning 215: expression has no effect
DD.pwn(117) : error 001: expected token: \";\", but found \")\"
DD.pwn(117) : error 029: invalid expression, assumed zero
DD.pwn(117) : fatal error 107: too many error messages on one line
public OnPlayerDisconnect( playerid, reason )
{
new string[128];
if( Minigamer_{ playerid } == true )
{
if( inProgress > 1 )
{
format( str, sizeof( str ), \"* %s \"COL_RULE\"elhagyta a szervert!\"COL_LIME\"helyezés %d\", PlayerName( playerid ), Iter_Count(_Minigamer ) );
SendClientMessageToAll( LIME, str );
Iter_Remove(_Minigamer, playerid );
Minigamer_{ playerid } = false;
if( Iter_Count(_Minigamer ) < 2 )
{
foreach(_Minigamer, i ) MinigameWinner( i );
}
}
else
{
Iter_Remove(_Minigamer, playerid );
Minigamer_{ playerid } = false;
}
}
return 1;
}
Amit beszíneztem az a 117 es sor.Elõre is kösz