Kido Posted June 5, 2014 Group: Members Topic Count: 127 Topics Per Day: 0.03 Content Count: 1445 Reputation: 164 Joined: 08/17/13 Last Seen: July 11, 2019 Share Posted June 5, 2014 Hello, i find a script in google that is suposed to warp the players out of the castle if they are not baby i teste in my test server and i had no errors, but in my test server nothing happens when i go into the castle, here is the script script babywoe -1,{ //setarray .Mapas$[0],"prtg_cas01","prtg_cas02","prtg_cas03"; OnInit: setarray .IdBaby[0],23,4046,4023,4024,4025,4026,4027,4028,4029,4030,4031,4032,4033,4034,4035,4036,4037,4038,4039,4040,4041,40422,4043,4044,4045; setarray .Maps$[0],"gefg_cas04","aldeg_cas04"; end; OnPCLoadMapEvent: for (set .@c, 0; .@c < getarraysize(.Maps$); set .@c, .@c + 1) if (.Maps$[.@c] != strcharinfo(3)) end; for( set .@i, 0; .@i < getarraysize(.IdBaby); set .@i, .@i + 1 ) if(class ==.IdBaby[.@i]) end; warp "celerian",33,73;// just a custom map 'Celerian' dispbottom "Only Baby Class is allowed to enter."; end; } // End Script aldeg_cas04 mapflag loadevent gefg_cas04 mapflag loadevent i would like to now how to kae it work ): thanks in advance o:! Quote Link to comment Share on other sites More sharing options...
Capuche Posted June 6, 2014 Group: Developer Topic Count: 10 Topics Per Day: 0.00 Content Count: 2407 Reputation: 616 Joined: 07/05/12 Last Seen: March 20 Share Posted June 6, 2014 It doesn't work because of if (.Maps$[.@c] != strcharinfo(3)) end; - script babywoe -1,{ OnPCLoadMapEvent: if ( compare( "gefg_cas04|aldeg_cas04",strcharinfo(3) ) != 0 && eaclass()&EAJL_BABY == 0 ) {// "gefg_cas04|aldeg_cas04" yours woe maps warp "celerian",33,73;// just a custom map 'Celerian' dispbottom "Only Baby Class is allowed to enter."; } end; } aldeg_cas04 mapflag loadevent gefg_cas04 mapflag loadevent 1 Quote Link to comment Share on other sites More sharing options...
0 ShahLegends Posted August 11, 2017 Group: Members Topic Count: 2 Topics Per Day: 0.00 Content Count: 12 Reputation: 0 Joined: 10/02/16 Last Seen: November 6, 2017 Share Posted August 11, 2017 can someone tech me how to use this script.. im newbie in this thx alot Quote Link to comment Share on other sites More sharing options...
Kido Posted June 6, 2014 Group: Members Topic Count: 127 Topics Per Day: 0.03 Content Count: 1445 Reputation: 164 Joined: 08/17/13 Last Seen: July 11, 2019 Author Share Posted June 6, 2014 ahh thanks you so much o:!!!!!!! gonna try it :3 Edit: Thank you so much it worked totally :33 Quote Link to comment Share on other sites More sharing options...
Question
Kido
Hello, i find a script in google that is suposed to warp the players out of the castle if they are not baby
i teste in my test server and i had no errors, but in my test server nothing happens when i go into the castle, here is the script
i would like to now how to kae it work ):
thanks in advance o:!
Link to comment
Share on other sites
3 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.