14.04.2013, 05:09
No. It was suppose to be place in OnPlayerConnect.
OnGameModeInit/OnFilterScriptInit has no parameters. That's why RemoveBuildingForPlayer
isn't suitable for that callback. OnPlayerConnect has playerid callback so it was suitable for it.
The function can be only used in a callback that has playerid parameters.
OnGameModeInit/OnFilterScriptInit has no parameters. That's why RemoveBuildingForPlayer
isn't suitable for that callback. OnPlayerConnect has playerid callback so it was suitable for it.
The function can be only used in a callback that has playerid parameters.