Results 1 to 5 of 5

Thread: Scripting : How change hintstring when Press button.

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Private Salem75's Avatar
    Join Date
    Mar 2018
    Location
    Toujane , Tunisia
    Posts
    15
    Thanks
    0
    Thanked 9 Times in 8 Posts

    Scripting : How change hintstring when Press button.

    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 !

  2. The Following User Says Thank You to Salem75 For This Useful Post:

    kubislav23 (5th March 2018)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •