The documents are hidden on a random place and you can grab them, and the documents will be attached in the left_hand of the player. So other people can actually see that he got the documents. Nothing wrong so far, even drop the documents seems to be working perfect.
But then a friend of mine discovered something which I just can't find the answer on. Somehow if you grab the documents with a 'rifle' 'sniper' or 'bazooka' and you reload with the rifle, the gun dissapears all of a sudden (now you only have grenades and pistol) and with a sniper and bazooka when you fire one shot, it's gone.... You don't have this problem with the SMG, MG or Shotgun.
In the script I had to add this line:
Code: Select all
attachdocs local.player:
// Attach the Documents to the Stealer
while ((isalive local.player) && (level.stealerdoc == "true")) {
waitframe
local.player removeattachedmodel "tag_weapon_left"
local.player attachmodel "models/items/documents1a.tik" "tag_weapon_left" "0.75"
}
local.player removeattachedmodel "tag_weapon_left"
end
