Errors with a command.
#2

First off all you need to forward the function PlayerToPoint by putting this somewhere in your code:

pawn Код:
forward PlayerToPoint(playerid, Float:x, Float:y, Float:z); //the syntax may differ - make sure it matches the line public PlayerToPoint
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.
pawn Код:
new array[max_value]; //replace max_Value with the actual max value
This should basically fix all your errors - if not, reply with the remaining ones.
Reply


Messages In This Thread
Errors with a command. - by MrSnapp - 02.12.2012, 23:23
Re: Errors with a command. - by LarzI - 03.12.2012, 08:05
Re: Errors with a command. - by RajatPawar - 03.12.2012, 08:08

Forum Jump:


Users browsing this thread: 1 Guest(s)