![]() |
|
|
#1 |
|
Архивный участник
Join Date: Jan 2006
Posts: 39
|
Maybe anyone know why this ai don't work ?
AI Code:
class test_hi : citizen
{
parameter:
string fnHi = "test_hi.htm";
handler:
EventHandler TALKED(talker, fhtml0)
{
FHTML_SetFileName(fhtml0, fnHi);
FHTML_SetStr(fhtml0, "name", talker.name);
ShowFHTML(talker, fhtml0);
}
}
Code:
<html><head><body> Hi <?name?> ! how are you?</body></html> |
|
|
|
|
#2 |
|
Архивный участник
Join Date: Nov 2005
Posts: 22
|
Whats wrong with it?
Code:
class citizen {}
class test_hi : citizen {
parameter:
string fnHi = "test_hi.htm";
handler:
EventHandler TALKED(talker, fhtml0)
{
FHTML_SetFileName(fhtml0, fnHi);
FHTML_SetStr(fhtml0, "name", talker.name);
ShowFHTML(talker, fhtml0);
}
}
PS: better a late reply then no reply :x |
|
|
|
|
#3 |
|
Архивный участник
Join Date: Apr 2006
Posts: 729
|
Maybe you forgot about converting html into unicode?
|
|
|
|
|
#4 | |
|
Архивный участник
Join Date: Jan 2006
Posts: 39
|
Quote:
|
|
|
|
| Thread Tools | Search this Thread |
| Display Modes | |
|
|