Jump to content
Sign in to follow this  
yacobm8

Can I use php and a database to manipulate data in arma?

Recommended Posts

For example i get the position of a player in arma but the coordinates returned are (not actual coordinates) [2345.5, 2345.5, 2345.5] what if i wanted to take this array and manipulate it using another language like php? I was thinking Arma can connect to a database so i could store this array in the database and then i could use whatever language i liked to access that database and get the array. So php has a function where you can give it a array and it will shorten it for you so lets say i get php to get rid off all the decimals and leave the array with just whole numbers [2345, 2345, 2345]. I could then add this array into the database and then arma could use it again.

The reason I ask is because arma doesn't have a command for everything while other languages do so i thought it would be quite useful if I knew how to do this.

Im not asking how this could be done because I know that would be a lot of explaining to understand you, I would just like to know if it is possible. If you wanted to go into detail about how to do it thou I would greatly appreciate you explaining how you would go about doing it.

thanks,

jake

Share this post


Link to post
Share on other sites

thanks that looks interesting horner I read the documentation on the wiki about extension and callextension but I dont understand it. Im going to look for a tutorial on how to use it, don't suppose you know of any do you?

Share this post


Link to post
Share on other sites

I don't know of any tutorials, however, there are a few projects out there with uncompiled versions of the extension and you could use those to learn. I recommend ArmA2MySQL.

Share this post


Link to post
Share on other sites

thanks a lot guys i like killzone kid :)

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×