Dev j Posted June 26, 2023 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
0 Winterfox Posted June 26, 2023 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
0 Mice Posted June 26, 2023 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
0 Dev j Posted June 28, 2023 Author 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
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
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.