19.03.2014, 13:54
When you see errors, don't just come running to the SA-MP forum - read them and work out what they mean, then work out how to fix it.
Start with the first error - undefined symbol "PlayerInfo". This is extremely obvious. You need to define 'PlayerInfo'. By define I don't just mean 'new PlayerInfo' or '#define PlayerInfo'. If you look at how it's used in the code, you can tell it's meant to be an enum structure and array.
Clearly you've copied some code from somewhere without knowing what it does, but haven't taken it all. Half your code makes no sense at all, as it's just copied and pasted from another script with no context.
Start with the first error - undefined symbol "PlayerInfo". This is extremely obvious. You need to define 'PlayerInfo'. By define I don't just mean 'new PlayerInfo' or '#define PlayerInfo'. If you look at how it's used in the code, you can tell it's meant to be an enum structure and array.
Clearly you've copied some code from somewhere without knowing what it does, but haven't taken it all. Half your code makes no sense at all, as it's just copied and pasted from another script with no context.