sorry but this is funny
you have literally used every single command to show text there... you only need 1.
i'll explain their uses...
Prompt(str) <- replace 'str' with the text you wish to show
e.g.
Prompt("Hello")
PromptDuration(str,1200) <--same as above but uses a time setting before it disappears
e.g. (will show Hello for 1.2seconds)
PromptDuration("Hello",1200)
PromptTextSize(3) <--sets the size of the text on screen while using the prompt commands (not really seen this used, you certainly don't have to if you're happy with the default size)
PromptLocal(e, "Hello"") <-- shows text at the bottom of the entity defined at 'e' (not at bottom of screen is the difference here)
Text(125,125,size,txt) <-- a more complete version of the prompt command (you need to place the text in % of screen, 100 being max, so 125 - as in your code - wont be shown)
TextCenterOnX(350,350,size,txt) <-- better version of above command, again you need value from 1~100 really, size of 1 is default
e.g. (will show Hello at bottom center of screen similar to a prompt call)
TextCenterOnX(95,50,1,"Hello")
now for your actual request you also need an 'if' statement to check the player is inside the zone otherwise the text will always show
apply this code script to your zone
function text_init(e)
end
function text_main(e)
if g_Entity[e]['plrinzone'] == 1 then
TextCenterOnX(95,50,1,"Hello")
end
end
life\'s one big game
windows vista ultimate
i5 @3.3ghz, 4gb ram, geforce gtx460, directx 11