[not a bug] "firewhilemoving"...

Moderator: POL Developer

Locked
guialtran
Grandmaster Poster
Posts: 120
Joined: Wed Jul 30, 2008 12:42 pm

[not a bug] "firewhilemoving"...

Post by guialtran »

hi guys,
I'm testing the new privillege "firewhilemoving" and I can't manage how to make it work.


Use uo;

program teste(mobile)
GrantPrivilege( mobile, "firewhilemoving");
endprogram


Is it correct? I'm doing something wrong?
thanks in advance.
MuadDib
Former Developer
Posts: 1091
Joined: Sun Feb 12, 2006 9:50 pm
Location: Cross Lanes, WV

Re: "firewhilemoving"...

Post by MuadDib »

Don't forget (iirc), it also needs to be enabled. Or did we update that to auto enable? can't remember, been a while.

Check docs but you also need to Enable the priv after you grant it.
guialtran
Grandmaster Poster
Posts: 120
Joined: Wed Jul 30, 2008 12:42 pm

Re: "firewhilemoving"...

Post by guialtran »

tnx


GrantPrivilege( mobile, "firewhilemoving");
mobile.enable("firewhilemoving");
Locked