mirror of
https://github.com/Resxt/Plutonium-IW5-Scripts.git
synced 2025-04-19 20:52:54 +00:00
actions_on_button_press 1.0.3
This commit is contained in:
parent
110b35d66f
commit
db886926ad
@ -27,8 +27,8 @@ OnPlayerSpawn(player)
|
|||||||
{
|
{
|
||||||
self endon("disconnect");
|
self endon("disconnect");
|
||||||
|
|
||||||
for(;;)
|
for(;;)
|
||||||
{
|
{
|
||||||
self waittill("spawned_player");
|
self waittill("spawned_player");
|
||||||
wait 1;
|
wait 1;
|
||||||
|
|
||||||
@ -46,8 +46,6 @@ OnCameraToggleButtonPressed(button)
|
|||||||
{
|
{
|
||||||
self waittill("third_person_button");
|
self waittill("third_person_button");
|
||||||
|
|
||||||
//self setDepthOfField( 0, 0, 512, 512, 4, 0 );
|
|
||||||
|
|
||||||
if (GetDvar("camera_thirdPerson") == "0")
|
if (GetDvar("camera_thirdPerson") == "0")
|
||||||
{
|
{
|
||||||
SetDynamicDvar( "camera_thirdPerson", 1);
|
SetDynamicDvar( "camera_thirdPerson", 1);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user