Jump to content

djdan9741

Member
  • Content Count

    3
  • Joined

  • Last visited

  • Medals

Everything posted by djdan9741

  1. Hello, I would like know how i can detect when a player drop an item for delete it. I have try with "addEventHandler Put" but the return of item is type string and DeleteVehicle use type object.. Thank you! (Sorry for my bad english)
  2. djdan9741

    Delete item when drop

    Thank you for your answer, I have try your script but it does not work. I have this error: Incorrect number in expression.
  3. djdan9741

    addRespawnInventory

    Hello Djavu, init.sqf : instructorUID = ["STEAM_UID1","STEAM_UID2","STEAM_UID3"]; // UID OF PLAYER WHO CAN PLAY INSTRUCTOR initPlayerLocal.sqf : _UID = getPlayerUID player; // GET UID OF PLAYER waitUntil{!(isNil "instructorUID")}; // WAIT LOADING OF instructorUID if( (typeOf player == "CLASS_OF_UNIT_INSTRUCTOR") && !( _UID in instructorUID) ) then { endMission "Loser"; }; // IF TYPE OF PLAYER = instructor class and his UID is not in instructorUID then the player is kick Sorry for my bad english.
×