02.06.2012, 16:46
I added to OnPlayerConnect,SetSpawnInfo to skip OnPlayerRequestClass,this is working.
The player is setted to x,y,z from SetSpawnInfo and the classes is somewhere else,
Then i called OnPlayerRequestClass with a timer,and at the end of the timer i kill the player to ForceClassSelection,but into OnGameModeInit i have classes to some coordinates but after ForceClassSelection the camera stays where i wan`t but the skins from class selection is at x,y,z from SetSpawnInfo.
Is any way to keep them there but not to delete SetSpawnInfo,if you ask why i`m doing like this..i don`t want to see the player when is that timer on and when he is killed.
Any ideas?
The player is setted to x,y,z from SetSpawnInfo and the classes is somewhere else,
Then i called OnPlayerRequestClass with a timer,and at the end of the timer i kill the player to ForceClassSelection,but into OnGameModeInit i have classes to some coordinates but after ForceClassSelection the camera stays where i wan`t but the skins from class selection is at x,y,z from SetSpawnInfo.
Is any way to keep them there but not to delete SetSpawnInfo,if you ask why i`m doing like this..i don`t want to see the player when is that timer on and when he is killed.
Any ideas?