Hey guys. I'm very new in Game Guru (about 3 day), and i need one script. When i'm enter in story zone first image comes, and then i press E, second image come, and when i press E again picture hide, and unfreeze player.
I have code
function storyinzone_init(e)
LoadImages("Kuslandz",0)
LoadImages("Kuslandz",1)
end
function storyinzone_main(e)
if g_Entity[e]['plrinzone']==1 then
PlaySound(e,0)
SetImagePosition(50,50)
ShowImage(0)
FreezePlayer()
Prompt ("Press E to Continue" )
if g_KeyPressE == 1 then
ShowImage(1)
Prompt ("Press K to start game" )
if g_KeyPressK == 1 then
FirstRun = 1
UnFreezePlayer()
HideImage(1)
Destroy(e)
ActivateIfUsed(e)
end
end
end
end
end
But it is dont work, because if i press E after, this picture come, but if i relased button its gone, and pict 1. back.
Sorry, but i dont know some commands, because i don't know, what i need to add!