JagLers Posted April 26, 2020 Group: Members Topic Count: 8 Topics Per Day: 0.00 Content Count: 15 Reputation: 0 Joined: 11/22/19 Last Seen: August 29, 2020 Share Posted April 26, 2020 Im trying to create a acript which will announce the number of player inside a pub on entry, but i cant seem to trigger the waiting room after adding "@set". Can someone help me with this? quiz_00,17,114,4 script Waiting 726,{ end; OnInit: waitingroom "Waiting Room",8,"Waiting2::OnStart",1; end; } - script Waiting2 -1,{ end; OnStart: set .@join getwaitingroomstate(0,"Waiting"); announce .@join + " People Inside!",bc_blue|bc_all; end; } Quote Link to comment Share on other sites More sharing options...
0 sader1992 Posted April 26, 2020 Group: Content Moderator Topic Count: 55 Topics Per Day: 0.01 Content Count: 1691 Reputation: 716 Joined: 12/21/14 Last Seen: 13 hours ago Share Posted April 26, 2020 *set <variable>,<expression>{,<char_id>}; set .@join,getwaitingroomstate(0,"Waiting"); you missed a comma , read the console errors before anything. 1 Quote Link to comment Share on other sites More sharing options...
0 JagLers Posted July 2, 2020 Group: Members Topic Count: 8 Topics Per Day: 0.00 Content Count: 15 Reputation: 0 Joined: 11/22/19 Last Seen: August 29, 2020 Author Share Posted July 2, 2020 forgot to tag this as solved. Quote Link to comment Share on other sites More sharing options...
Question
JagLers
Im trying to create a acript which will announce the number of player inside a pub on entry, but i cant seem to trigger the waiting room after adding "@set". Can someone help me with this?
quiz_00,17,114,4 script Waiting 726,{ end; OnInit: waitingroom "Waiting Room",8,"Waiting2::OnStart",1; end; } - script Waiting2 -1,{ end; OnStart: set .@join getwaitingroomstate(0,"Waiting"); announce .@join + " People Inside!",bc_blue|bc_all; end; }
Link to comment
Share on other sites
2 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.