Hi,
I'll let you now know how change hintstring After press button , for example from ("Press ^2[F]^7 To use") to ("^1Wait")
PHP Code:
PHP Code:
init()
{
lovyshka = getent("lov1", "targetname");
uselov = getent("flov1", "targetname");
k1 = getent("lov1kg", "targetname");
k2 = getent("lov1kr", "targetname");
while(1)
{
k2 hide();
uselov sethintstring("^2Press [F] to use ");
uselov waittill("trigger", user);
k1 hide();
k2 show();
uselov sethintstring("^1Wait... ");
lovyshka movez(-200,0.3);
lovyshka waittill ("movedone");
wait (10);
lovyshka movez(200,3);
lovyshka waittill ("movedone");
wait (10);
uselov sethintstring("^2Press [F] to use ");
k2 hide();
k1 show();
}
}
Enjoy !