Dev j Posted June 26, 2023 Group: Members Topic Count: 17 Topics Per Day: 0.03 Content Count: 80 Reputation: 1 Joined: 06/22/23 Last Seen: July 16, 2024 Share Posted June 26, 2023 - script delete_scbossmapinfo FAKE_NPC,{ OnPCLoginEvent: query_sql(DELETE FROM `sc_data` WHERE `type` = 123456 end; } Help how can i correct this script Quote Link to comment Share on other sites More sharing options...
0 Winterfox Posted June 26, 2023 Group: Members Topic Count: 1 Topics Per Day: 0.00 Content Count: 245 Reputation: 93 Joined: 06/30/18 Last Seen: November 27, 2024 Share Posted June 26, 2023 (edited) Hello, what do you exactly want to achieve with this script? If you want to simply remove SC_BOSSMAPINFO state from a player on login, you can use this: - script delete_scbossmapinfo FAKE_NPC,{ OnPCLoginEvent: sc_end(SC_BOSSMAPINFO); } Edited June 26, 2023 by Winterfox Quote Link to comment Share on other sites More sharing options...
0 Mice Posted June 26, 2023 Group: Members Topic Count: 7 Topics Per Day: 0.00 Content Count: 78 Reputation: 19 Joined: 12/24/18 Last Seen: 58 minutes ago Share Posted June 26, 2023 9 hours ago, Dev j said: - script delete_scbossmapinfo FAKE_NPC,{ OnPCLoginEvent: query_sql(DELETE FROM `sc_data` WHERE `type` = 123456 end; } Help how can i correct this script try this query_sql("DELETE FROM `sc_data` WHERE `type` = 123456"); Quote Link to comment Share on other sites More sharing options...
0 Dev j Posted June 28, 2023 Group: Members Topic Count: 17 Topics Per Day: 0.03 Content Count: 80 Reputation: 1 Joined: 06/22/23 Last Seen: July 16, 2024 Author Share Posted June 28, 2023 On 6/26/2023 at 7:22 PM, Winterfox said: Hello, what do you exactly want to achieve with this script? If you want to simply remove SC_BOSSMAPINFO state from a player on login, you can use this: - script delete_scbossmapinfo FAKE_NPC,{ OnPCLoginEvent: sc_end(SC_BOSSMAPINFO); } Thank you i will try. Quote Link to comment Share on other sites More sharing options...
Question
Dev j
- script delete_scbossmapinfo FAKE_NPC,{
OnPCLoginEvent:
query_sql(DELETE FROM `sc_data` WHERE `type` = 123456
end;
}
Help how can i correct this script
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.