Jump to content

john123

Members
  • Content Count

    24
  • Joined

  • Last visited

Community Reputation

0 Neutral

About john123

  • Rank
    Member
  1. Can u explain what u mean by a class? and as for the path i'm using KKs method of defining MISSION_ROOT in the init which works
  2. go into init cop and edit the following if (!(str(player) in ["cop_1","cop_2","cop_3","cop_4"])) then { < Name of slot to whitelist if ((FETCH_CONST(life_coplevel) isEqualTo 0) && (FETCH_CONST(life_adminlevel) isEqualTo 0)) then { ["NotWhitelisted",false,true] call BIS_fnc_endMission; sleep 35; }; };
  3. Hi guys I'm wondering if you can give me some advice. I'm trying to spawn a custom model I've found online for experimental sake. I Unpack the pbo into the mission file and use this to spawn. _pos = player getRelPos [10, 0]; _tank = createSimpleObject [MISSION_ROOT + "Barriere\Barriere.p3d", AGLtoASL _pos]; This spawns the object however with an error message saying it cannot find it .paa. I've tried setting it with: _tank setObjectTextureGlobal [0, "Barriere\Metal.paa"]; However no luck. The .paa file is where it is saying it cannot find it. any Idea's p.s I've tried leaving it as a pbo. same result
  4. Found the issue. I'm not running it as a dedi. I'm doing the lan hosting testing method haha. Thanks for the help guys appreciate it!
  5. hmmm, that seemed to get rid of the error. But I'm now having my original issue. Here a Paste bin of the init anyway
  6. @Fawks thanks for the response. Retried getting this error sadly which init do you place step 7 in as i have tried the init in core, init server, init player server. All produce this error.
  7. Hi anyone know the fix for this error. Cheers?
  8. For your increase by one question if you do _query = format ["UPDATE players SET cash= cash + '1' WHERE pid='%1'", PlayerID];
  9. Getting this error when loading into server. Followed instructions. Was origanally an error playerinv but i managed to fix it
  10. So i've noticed on my mission when I use the scroll menu on a shop and then leave. if i scroll on a random object close by say a bin the shops scroll menu will appear. Strange thing is tho I loaded up a clear mission file from the framework and bug seems to be on there as-well any idea's does this happen for anyone else. is the only fix to go into every shop and do a distance conditon?.
  11. Hi, Are there any scripts out there that show a list of current gangs and there members. Or any idea how i'd go about it. I know how i'd recall it from the DB but not too sure how to do the GUI etc. Thanks in advance.
  12. So i've been trying this code and nothing seems to happen any idea's? hint"Test"; _uid = getPlayerUID player; _query = format["SELECT name FROM players WHERE pid='%1'",_uid]; _queryResult = [_query,2] call DB_fnc_asyncCall; hint _queryResult;
×
×
  • Create New...