09.11.2010, 15:57
using SetPlayerName in OnPlayerDisconnects causes server to crash.
public OnPlayerDisconnect ( playerid, reason )
{
SetPlayerName ( playerid, "LongGoneFag" );
printf ( "%d%d", playerid, reason );
return 1;
}
No, i think it's logical for this to happen.
It's not like player is setting name first then quits. Player quits first and then his name will be changed, but this won't happen because he left already and this will result in an epic crash. Also this makes no sens at all, why would you set player's name? I mean this could be a good thing when you are saving it in a file or something, but., |