OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: xCIA_BlackThorn on 20 May 2005, 11:17:36

Title: HINT ["%1",getpos player]
Post by: xCIA_BlackThorn on 20 May 2005, 11:17:36
I have tried to use this script line in the Init space of my Player, then calling it with the radio to see my curent cords. But I get an error about an "expected string" ?? How can I do this the right way?

HINT ["%1",getpos player]   <--?

Thanks.
Title: Re:HINT ["%1",getpos player]
Post by: bedges on 20 May 2005, 11:34:53
you're missing the 'format' part of that, i.e.

Code: [Select]
hint format ["%1",getpos player]

that should do it ;)
Title: Re:HINT ["%1",getpos player]
Post by: xCIA_BlackThorn on 20 May 2005, 14:45:33
LOL   Dammit,    ok  Thanks so much.