Raised This Month: $2 Target: $400
 0% 

idea for plugin?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Ade
I love purple
Join Date: May 2010
Old 09-22-2011 , 12:24   idea for plugin?
Reply With Quote #1

http://www.youtube.com/watch?v=vbp9xOMEcYM
__________________
Ade is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 09-22-2011 , 13:07   Re: idea for plugin?
Reply With Quote #2

Quote:
When you step on the rails, it changes your view sideways as if you were dead.
And which game ?? HL2MP ??
__________________
Do not Private Message @me
Bacardi is offline
Peace-Maker
SourceMod Plugin Approver
Join Date: Aug 2008
Location: Germany
Old 09-22-2011 , 15:00   Re: idea for plugin?
Reply With Quote #3

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(clientflAngles);
    
flAngles[2] = 90.0;
    
TeleportEntity(clientNULL_VECTORflAnglesNULL_VECTOR);

That should do it - untested though. It rolls every player's view to the side. Why would you want that?
__________________
Peace-Maker is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 14:51.


Powered by vBulletin®
Copyright ©2000 - 2020, vBulletin Solutions, Inc.
Theme made by Freecode