Jump to content

Ajutor la crearea unui GUI


enzopaul4

Recommended Posts

Ceva de genu'

local window = guiCreateWindow(0, 0, 0.5, 0.4, "Asta ar fi panoul", true); 
local open = false; 
  
bindKey("F1", "down", function() 
    if (open == false) then 
        guiSetVisible(window, true); 
        open = true; 
    else 
        guiSetVisible(window, false); 
        open = false; 
    end 
end); 

Link to comment
Salutare , as dori sa creez un Tabel ca de exemplu F1 , si nu prea stiu asa multe despre scripting , imi puteti da un sfat?

Multumesc anticipat!

Sa faci un GUI nu este asa greu

Ce e mai greu e scriptarea lui

GUI-ul poti sa-l faci in joc folosind resursa guieditor

Inainte sa te apuci poti sa te uiti aici

Dupa ce te-ai prins cum merge poti sa incerci sa faci tu

Linkuri utile:

https://wiki.multitheftauto.com/wiki/Client_Scripting_Functions Capitolul 16

https://wiki.multitheftauto.com/wiki/Client_Scripting_Events Capitolul 4

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...