Why is this script not working? I am very new and can't figure it out
function talk_init(e)
playerdist{}
end
function talk_main(e)
playerdist = GetPlayerDistance(e)
if playerdist < 50 then
Prompt("Press E to talk")
if g_KeyPressE = true then
Text(160,160,3,"Hello World")
end
The author of this post has marked a post as an answer.
Go to answer