03.05.2017, 21:44
This error message doesn't necessarily mean that OnPlayerSpawn has actually been defined using #define, it just means that you have two of the same callbacks somewhere in your script. Try searching once more through your entire script (using CTRL + F) and you might just find two OnPlayerSpawn callbacks.