03.12.2012, 08:05
First off all you need to forward the function PlayerToPoint by putting this somewhere in your code:
To fix the loose indentation warnings: Look up indentation - what it is and why you should use it.
---
Now for the errors.
The variable "array" is not defined, thus giving you the "undefined symbol" error. You need to define it by putting, e.g.
This should basically fix all your errors - if not, reply with the remaining ones.
pawn Код:
forward PlayerToPoint(playerid, Float:x, Float:y, Float:z); //the syntax may differ - make sure it matches the line public PlayerToPoint
---
Now for the errors.
The variable "array" is not defined, thus giving you the "undefined symbol" error. You need to define it by putting, e.g.
pawn Код:
new array[max_value]; //replace max_Value with the actual max value