The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 906 - File: showthread.php PHP 7.2.24-0ubuntu0.18.04.17 (Linux)
File Line Function
/showthread.php 906 errorHandler->error



Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Script Help Lights ^.^ (Fast answer :D)
Straxedix Offline
Senior Member

Posts: 426
Threads: 52
Joined: Mar 2014
Reputation: 5
#1
Question  Lights ^.^ (Fast answer :D)

Hii ^.^

i need help i wanna when player walk in area to all light's turn off so it's like this ???

AddEntityColideCallback("Player", "area2", "lightsdown", true, 1);


void SetLampLit("Light1", false, false);




----------------------------------------------------------------------

void SetLampLit(string& asName, bool abLit, bool abEffects);
(Un)lits a lamp.

asName - Name of the lamp
abLit - Set true if you want the lamp to be lit, set to false if you want the lamp to be unlit
abEffects - If you want to have the lamp fade in/out when it gets (un)lit

(This post was last modified: 03-22-2014, 01:17 PM by Straxedix.)
03-22-2014, 01:16 PM
Find


Messages In This Thread
Lights ^.^ (Fast answer :D) - by Straxedix - 03-22-2014, 01:16 PM
RE: Lights ^.^ (Fast answer :D) - by Straxedix - 03-22-2014, 01:20 PM
RE: Lights ^.^ (Fast answer :D) - by DnALANGE - 03-22-2014, 01:57 PM
RE: Lights ^.^ (Fast answer :D) - by Straxedix - 03-22-2014, 01:58 PM
RE: Lights ^.^ (Fast answer :D) - by DnALANGE - 03-22-2014, 02:00 PM
RE: Lights ^.^ (Fast answer :D) - by Straxedix - 03-22-2014, 02:22 PM
RE: Lights ^.^ (Fast answer :D) - by DnALANGE - 03-22-2014, 02:31 PM
RE: Lights ^.^ (Fast answer :D) - by Straxedix - 03-22-2014, 03:12 PM
RE: Lights ^.^ (Fast answer :D) - by DnALANGE - 03-23-2014, 02:22 PM



Users browsing this thread: 1 Guest(s)