Game.GetPlayer().AddItem(Diamond, 2, true)
but it doesn't work when compiling
the error message:
Starting 1 compile threads for 1 files...
Compiling "TIF__03004E15"...
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\temp\TIF__03004E15.psc(9,25): variable Diamond is undefined
No output generated for TIF__03004E15, compilation failed.
Batch compile of 1 files finished. 0 succeeded, 1 failed.
Failed on TIF__03004E15

