Darkrp adding entities errors

I’ve been trying to add entities from two addons with the darkrpmodifications custom entities lua, however I’ve been getting this error often, have been trying many things, and googling has not helped. Any help would be appreciated.

[ERROR] A runetime error has occured in "addons/darkrpmodification-master/lua/darkrp_customthings/entities.lua on line 19.
The best help I can give you is this:

Corrupt entity: Alfredo!
The model must be valid.

Hints:
- No hints, sorry.

This is the code I’m using to create the entity

DarkRP.createEntity(“Alfredo”, {
ent = “Food_alfredo”,
model = {“models/alfredo01/alfredo01.mdl”},
price = 500,
max = 5,
cmd = “buyalfredo”,
allowed = TEAM_COOK,
category = “Food”,
})

The model is incorrect or Corrupt.

That’s the model I grabbed from the entitiy’s init.lua

Try to remove “models/” prefix

UPD: Also remove { and } (curly brackets) at “model” property since you aren’t using two or more models

I’ll give the removing models/ a try, but I’m not sure what you mean by the { and }

EDIT: Nvm, I figured out what you meant. I fixed it by just removing the brackets and keeping the model/ part. Thanks for the help.