Hey guys,
in the process of modding skyrim and my scripting wont work, dunno why.
I'm basically moving gold from one player to another but it wont compile. Here...
;BEGIN FRAGMENT CODE - Do not edit anything between this and the end comment
Scriptname GiveBuskerGold extends TopicInfo Hidden
MiscObject Property Gold = Gold001 Auto
{Gold}
;BEGIN FRAGMENT Fragment_0
Function Fragment_0(ObjectReference akSpeakerRef)
Actor akSpeaker = akSpeakerRef as Actor
;BEGIN CODE
Game.getplayer().RemoveItem(Gold001, 10)
akspeaker.additem(Gold001, 10)
;END CODE
EndFunction
;END FRAGMENT
;END FRAGMENT CODE - Do not edit anything between this and the begin comment
Any help would be appreciated