Jump to content

ASiT

Members
  • Content Count

    20
  • Joined

  • Last visited

Community Reputation

0 Neutral

About ASiT

  • Rank
    Civilian
  1. ASiT

    Mountain Bike Problem

    Hey, So im having a problem .... when i enter my server and hop on a mountain bike the screen goes bright white or sometimes bright yellow .. i dont know really know how else to explain it but hears a picture ... any help would be greatly appreciated... http://img219.imageshack.us/my.php?image=mtaprobyi1.png
  2. ASiT

    ChatBox wiki

    do you guys know how to turn off like when i see another player i see their name and health above their head .... do you know how to turn that off as well when i push "i" or is it not possible to turn it off...?
  3. ASiT

    ChatBox wiki

    I found this code on the development wiki when looking for a way to disable the chatbox ...this should do it ...but when i started it it said there was an error at line 11...btw i was making it into a script if that helps... local isChatVisible = true -- let's assume the chat is visible function chat ( key, keyState ) if ( isChatVisible ) then -- if it's on showChat (false) -- turn it off isChatVisible = false else showChat = (true) -- if it's off isChatVisible = true -- turn it on
  4. and where do i put the syntax thing " bool etc etc" ...?
  5. say i was going to add this to the freeroam script where would i put these parts of code ...?
  6. sweet thanks what about the player health bar and name...?
  7. Is it possible to make the chatbox disappear in the server ... its really annoying me i don't want it there for the kind of server im making ....any help...?
  8. ASiT

    Buttons...

    thanks worked perfectly but i have another question does anyone know how to do random events (if they have those in lua)....so i have 3 spawn points and i want the people to randomly spawn at the different spawn points....so when you choose a team everyone doesnt spawn in the exact same place... any help...?
  9. ASiT

    Buttons...

    using the code i posted above it works great with the cursor fix but when someone else joins the server the select screen shows up for all players if they are in game or not .... whats the problem....? im guessing its something like needing to specify that only the player joining should see it but i dont know how to do that....
  10. ASiT

    Buttons...

    k im moved on to spawning the player and have run into another problem ... once the player is spawned the cursor remains onscreen despite the showcursor(false) command the full client script below.... local localPlayer = getLocalPlayer() local localPlayerName = getPlayerName(localPlayer) local localRootElement = getRootElement() local newUser local passwordAttempts = 0 function CreateLoginWindow() wdwLogin = guiCreateWindow(0.375,0.350,0.300,0.250,"Log In v0.1.2",true) guiWindowSetSizable(wdwLogin,false) guiWindowSetMovable(wdwLogin,false) guiCreateLabel(0.08
  11. ASiT

    Buttons...

    ooo thats makes sense all try that out thanks...
  12. ASiT

    Buttons...

    I have another problem (so many ) so this is what i want my gui to look like (made using gui editor)... http://img186.imageshack.us/my.php?image=mtascreen0003nm7.png so i made some changes because the code given didnt work until the code looked like this local localPlayer = getLocalPlayer() local localPlayerName = getPlayerName(localPlayer) local localRootElement = getRootElement() local newUser local passwordAttempts = 0 function CreateLoginWindow() wdwLogin = guiCreateWindow(0.375,0.350,0.300,0.250,"Log In v0.1.2",true) guiWindowSetSizable(wdwLogin,false) guiWi
  13. ASiT

    Buttons...

    ok sweet thanks works great ...
  14. ASiT

    Buttons...

    so with what ur saying to add createSelectWindow() in the login success the last 2 paragraph i guess you could call them should look like this...? function clientLoginSuccessHandler() guiSetInputEnabled(false) destroyElement(wdwLogin) destroyElement(lblDisplayArea) wdwLogin = nil newUser = nil lblDisplayArea = nil passwordAttempts = nil localPlayer = nil localPlayerName = nil localRootElement = nil showCursor(false) createSelectWindow() end addEvent("clientLoginSuccess",true) addEventHandler("clientLoginSuccess",localRootE
  15. ASiT

    Buttons...

    heres what i have ... i took ur advice and added a triggerClientevent... tell me if this is how im supposed to do it...because this didnt work either local localPlayer = getLocalPlayer() local localPlayerName = getPlayerName(localPlayer) local localRootElement = getRootElement() local newUser local passwordAttempts = 0 function CreateLoginWindow() wdwLogin = guiCreateWindow(0.375,0.350,0.300,0.250,"Log In v0.1.2",true) guiWindowSetSizable(wdwLogin,false) guiWindowSetMovable(wdwLogin,false) guiCreateLabel(0.080,0.200,0.250,0.250,"Username:",true,wdwLogin)
×
×
  • Create New...