• Announcements

    • jhxp

      Forums are online again after a maintenance.   18/03/17

      MTA Forums maintenance is completed, although some automatic time-heavy tasks are still in process and will be finished eventually in background. Expect some features such as Forum Search to not display all results until all processes are finished. Please let us know if you spot a forum feature that worked correctly before the maintenance but does not work anymore now. Thanks. --MTA Team

StormFighter

Members
  • Content count

    16
  • Joined

  • Last visited

Community Reputation

4 Neutral

About StormFighter

  • Rank
    Square
  1. Nem éppen egy friss topic, de a látható statok változtatása, pl háj(fat) az csak a CJ skinen látszik.
  2. Hello. I think that your problem is that the player is not existing when you freeze it. So the code runs from the top to the bottom and your freeze happens way before the spawn. What's more, you use randomSpawnTable[random][4] which is not an existing thing.
  3. license plate

    Thank you for your help, it was really helpful.
  4. license plate

    Hello there! I have replaced some cars with DFF files and such and I want to put GTA license plate on them, but I don't really know, how to do that. I'd really appreciate if someone could help me with this. Thank you!
  5. outputchatbox

    Thanks, it worked. You're cool.
  6. outputchatbox

    I have a problem with the visibility of outputChatBox. So it's part of a GUI. You press the button on the GUI, it sends the command to the server, the server checks if you have the money for the stuff and if you have, you got a fancy new weapon, but if you don't, the server triggers a clientside event, wich outputs the message, that you don't have enough money. The problem is, that the message, that warns you, that you don't have the money, appears for every online player. CLIENTSIDE function nomoney() outputChatBox("Nincs rá pénzed.") end addEvent("nomoney", true) addEventHandler("nomoney", resourceRoot, nomoney) SERVERSIDE function Deagleb() money = getPlayerMoney(client) if money>=100 then setPlayerMoney(client, money-100) giveWeapon(client, 24, 14, true) else triggerClientEvent("nomoney", resourceRoot) end end addEvent("Deagle", true) addEventHandler("Deagle", resourceRoot, Deagleb) Thanks for the help.
  7. visibility

    Okay, i'll try it. Thanks.
  8. visibility

  9. visibility

    So, my problem is, that i made a GUI, and when it opens, it opens for all the players online and the setElementFrozen affects every player, etc. The GUI is attached to markers, so when you enter the marker, the GUI pops up. But it pops up for everyone. If you're not in the ACL group, you're not allowed to use the GUI, so it closes, when you press a button and outputs a message that you're not allowed to use it. I have the same problem with outputChatBox. The message appears for everyone. So my question is, that how could is make the GUI appear and affect only the actual user, and the outputChatBox appear only for the player i want? If you need the Scripts, just let me know and I'll instert it here. Thanks for the help.
  10. Kliens oldali fájlban van a script? A gomb érzékelése, hogy van megírva? Egyébként, az amit ide bevágtál, valahogy így helyes. --------------------------- -- My window --------------------------- local GUIEditor = { window = {}, } wndMywindow = { 'wnd', GiftWindow = guiCreateWindow(322, 223, 783, 193, "ablak", false) guiWindowSetSizable(GiftWindow, false) guiSetVisible (GiftWindow, true) guiSetProperty(GiftWindow, "CaptionColour", "FF00D655") }
  11. Thank. I was hoping, that i don't have to change all the numbers and there's an other soultion for that. Thanks, anyway.
  12. So i have a problem, with GUIs. I made two GUIs and i should separate them, because the first GUI affects the second GUI. On the first GUI, i have two buttons. GUIEditor.button[1] and GUIEditor.button[2] On the second GUI, i have buttons two, starting from GUIEditor.button[1]. So the problem is, that the second GUI's buttons, aren't working, because it calls the function of the first GUI's buttons. The two scripts are in two files. So how could i separate them, so they don't have any effect on each other?
  13. Hello. Szóval az a problémám, hogy 2 GUI-t csináltam, és el kéne különítenem a kettőt, mert a 2. GUI gombjait, az első GUI gombjainak érzékeli. Külön fájlban vannak megírva, de nem tudok semmit csinálni a második GUI-n mert az első reagálja le.
  14. Nekem ez se megy de olyan parancsot hogy kell csinálni amin a parancs beírásakor meg kell adnod mondjuk a skinID-t vagy a kocsiD-t amikor lehívnál egyet. Vagy azt hogy ha csinálok egy GUI-t és ott úgy akarom megcsinálni hogy pl. login panelnél hogy beírod a nevet és a kódot akkor az működjön?