Try changing:
setPedAnimation (source,"FOOD","EAT_Burger",nil,false,false,nil,false)
To:
setPedAnimation(source, "FOOD","EAT_Burger", -1, false, false, false, false, -1, false)
For future please use "Code", help yourself and others.
If you want you can use newer version of DayZ mode because yours is very outdated.
https://github.com/NullSystemWorks/mtadayz