SRL Archive - OSR Help

Problem with SPS


Gucci

2012-05-10 19:12:16

No this isn't one of those minimap filter errors (LOL at how many threads about those there are.

I'm actually having a problem with SPS_WalkToPos, this is my setup:

SPS_WalkToPos(4202, 3683);

But it won't compile it gives me this:

[Error] (205:34): Invalid number of parameters at line 204
Compiling failed.

Any ideas?

Kyle Undefined

2012-05-10 19:15:56

SPS_WalkToPos(Point(x, y));

You need to pass in a Point ;)

CephaXz

2012-05-10 19:17:07

You missed out Point?

SPS_WalkToPos(Point(4202, 3683));

EDIT: Whops, late by 2 minutes :p

Gucci

2012-05-10 19:24:36

:duh: oh my god….. now I feel retarded thanks for the help guys :D