I want 4 script_brushmodels with one targetname

broken avatar :(
Created 29 days ago
by InsaneTV
0 Members and 1 Guest are viewing this topic.
58 views
broken avatar :(
×
broken avatar :(
Location: de
Date Registered: 19 January 2019
Last active: 22 hours ago
Posts
14
Respect
Forum Rank
Legless Crawler
Primary Group
Member
×
InsaneTV's Groups
InsaneTV's Contact & Social LinksWebsite
as in the title described i wanna have 4 script_brushmodels with the same targetname... but when i make this script:


trigger                 = getent ("trig_tanke_lights","targetname");



 diesel                = getent ("diesel","targetname");

diesel                 hide();

       trigger waittill ("trigger");

        trigger SetCursorHint( "HINT_NOICON" );

        trigger playsound("tanke_lights");



        wait 1.9;

        diesel                show();



it throws me an script compile error. i read about  getent to be getentarray but does it work ? i tried and get  an error too, maybe im doing something wrong.

i want to activate these 4 script_bruschmodels when i activate my trigger. it works all fine when i have 4 script_brushmodels  which different targetnames but not when all the script_brushmodels have the same targetname..

pls help 
Last Edit: August 22, 2020, 01:05:10 pm by InsaneTV

 

Login

or login with an authentication provider below
Sign In with Google
Sign In with Twitter
Sign In with Discord
Sign In with Steam
Sign In with Facebook
Sign In with Twitch
Loading ...