03.08.2016, 06:57
'return 1' belongs inside the function block of OnPlayerDisconnect; between the curly brackets.
This is what you had in your original post:
I don't think that semicolon (';') should be there. But I can't tell, if you're not willing to show me the code right above it.
This is what you had in your original post:
PHP код:
;
public OnPlayerDisconnect(playerid, reason)
{