It might be sufficient to edit line 6 in "\dayz_code\compile\player_spawnCheck.sqf":
// original code
if (!_inVehicle) then {
// modified code
if (true) then {
(you could also remove the "if"-statement or set "_inVehicle" to true etc.)
Please note that i didn't test this, so don't blame me...
I solved the problem by adding additional quotation marks. The argument is now handled as a string and everything works fine.
_key = format ["CHILD:998:update `my_table` set `worldspace` = ? where `unique_id` = ?:[%1, ""%2""]:", _param1, _param2];
Yes I'm trying to store data from my mod in the database. I've found a method called customExecute in the HiveEXT sourcecode
Sqf::Value HiveExtApp::customExecute( Sqf::Parameters params )
{
string query = Sqf::GetStringAny(params.at(0));
Sqf::Parameters rawParams =...
No i didn't until now because i was afraid they'll give me an answer like "DayZ related questions belong on the DayZ forums" and then simply close my thread.
Hello everyone and thank you leolilu for the code examples. As far as i understand it is possible to add custom scripts to missions (in this case chernarus mission file (*.PBO)) by executing them using execVM just like your code does: _loadcustomactions = [] execVM "playercustomactions.sqf"; The...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.