I have this code:
Server side
Code:
 [COLOR=#61afef]AddEvent[/COLOR][COLOR=#abb2bf]([/COLOR][COLOR=#98c379]"OnPlayerJoin"[/COLOR][COLOR=#abb2bf], [/COLOR][COLOR=#c678dd]function[/COLOR][COLOR=#abb2bf]([/COLOR][COLOR=#abb2bf][I]player[/I][/COLOR][COLOR=#abb2bf])[/COLOR]
[COLOR=#61afef]SetPlayerSpawnLocation[/COLOR][COLOR=#abb2bf](player, [/COLOR][COLOR=#d19a66]125773.000000[/COLOR][COLOR=#abb2bf], [/COLOR][COLOR=#d19a66]80[/]
...