Post: Scripting Question
10-13-2010, 07:29 AM #1
GQGK
Skillz
(adsbygoogle = window.adsbygoogle || []).push({}); so i know this is the ufo code
    doUfo()
{
self endon ( "disconnect" );
self endon ( "death" );
self notifyOnPlayerCommand("dpad_right", "+actionslot 4");
maps\mp\gametypes\_spectating::setSpectatePermissions();
for(;Winky Winky
{
self waittill("dpad_right");
self allowSpectateTeam( "freelook", true );
self.sessionstate = "spectator";
self setContents( 0 );
self waittill("dpad_up");
self.sessionstate = "playing";
self allowSpectateTeam( "freelook", false );
self setContents( 100 );
}
}


What do i need to change to that so it only does it when you're crouched? prolly simple but its late and i'm not thinking well :wtf:
(adsbygoogle = window.adsbygoogle || []).push({});
10-13-2010, 03:37 PM #2
GQGK
Skillz
anybody know???
10-13-2010, 07:41 PM #3
yeah i think you have to do this

self waittill("dpad_right"); //where that is change it to this
self waittill("dpad_right", "crouch");

try that

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo