SRL Archive - Bugs & Improvements S.M.A.R.T.

Variable Expected


Ruroken

2008-02-15 18:17:04

When I run this line : TileToWorld(2931, 3515, 100, g[0].x - 50, g[0].y + 50)
I get the error : Line 1: [Error] (1:1): Variable Expected in script.

But why?

EDIT : Its ok with this one though….

TileToWorld(SmartGetFieldInt(0,BaseX)+SmartGetFieldInt(npcstuff, 'fb') shr 7,SmartGetFieldInt(0,BaseY)+SmartGetFieldInt(npcstuff, 'nc') shr 7, 0, x, y);

EDIT: Never mind. Ben the infinitely helpful fixed it :)