Han25 Posted June 29, 2014 Group: Members Topic Count: 16 Topics Per Day: 0.00 Content Count: 67 Reputation: 2 Joined: 08/09/13 Last Seen: June 8, 2023 Share Posted June 29, 2014 (edited) Hello, i just want to have atleast an example of executing the script from npc to sql database.. example npc asked the player if he/she really wants to reset his faction then, (yes or no.) as yes is chosen.. the npc will update the sql table from char , faction_id to 0. i want to set this faction_id 10 as 0 to be registered as no faction_id, thank you.. Edited June 29, 2014 by Elektrochemiestry Quote Link to comment Share on other sites More sharing options...
Capuche Posted July 3, 2014 Group: Developer Topic Count: 10 Topics Per Day: 0.00 Content Count: 2407 Reputation: 616 Joined: 07/05/12 Last Seen: May 8 Share Posted July 3, 2014 well to set the faction id 10 to 0 in a npc query_sql "update `your_faction_table` set `faction_id` = 0 where `faction_id` = 10"; Quote Link to comment Share on other sites More sharing options...
Question
Han25
Hello, i just want to have atleast an example of executing the script from npc to sql database..
example
npc asked the player if he/she really wants to reset his faction then, (yes or no.)
as yes is chosen.. the npc will update the sql table from char , faction_id to 0.
i want to set this faction_id 10 as 0 to be registered as no faction_id,
thank you..

Edited by ElektrochemiestryLink to comment
Share on other sites
1 answer 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.