Sign in to follow this  
Followers 0
TheMeq

Updating a row via code

1 post in this topic

Hello, would anyone be able to tell me how to update a row in the database using a call from Arma3? 

I understand the use of "UPDATE players SET (x,y,z) VALUES (x,y,z) WHERE w = 1", but how could I call this from say, an infistar custom command?

class CfgCustomFunctions {
	class reviveTarget {
		type = 2;
		name = "Revive Target";
		code = "[a SQL query to revive _this] call extDB_Call_To_Update_Rows;";
	};
};

Thanks

Share this post


Link to post
Share on other sites
Advertisement

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0

  • Recently Browsing   0 members

    No registered users viewing this page.