You want players to have their view sideways?!
PHP Code:
#include <sdktools>
public OnPluginStart()
{
HookEvent("player_spawn", Event_OnPlayerSpawn);
}
public Event_OnPlayerSpawn(Handle:event, const String:name[], bool:dontBroadcast)
{
new client = GetClientOfUserId(GetEventInt(event, "userid"));
new Float:flAngles[3];
GetClientEyeAngles(client, flAngles);
flAngles[2] = 90.0;
TeleportEntity(client, NULL_VECTOR, flAngles, NULL_VECTOR);
}
That should do it - untested though. It rolls every player's view to the side. Why would you want that?
__________________