Jump to content

CapY

Members
  • Posts

    1,646
  • Joined

  • Last visited

Everything posted by CapY

  1. Then why you dont add balkan language section ?
  2. CapY

    Help in Logo!

    Still fails i tried to replace guiSetEnabled with guiSetVisible , but still doesnt works
  3. CapY

    Help in Logo!

    Doesnt work. Client: GUIEditor_Label = {} function lol () GUIEditor_Label[1] = guiCreateLabel(0.4063,0.3779,0.1531,0.209,"Welcome to our server ! Server is under construction at the moment , but feel free to play on it , expect more gamemodes from us , more features and much , much more ...",true) guiLabelSetColor(GUIEditor_Label[1],0,255,0) guiLabelSetVerticalAlign(GUIEditor_Label[1],"center") guiLabelSetHorizontalAlign(GUIEditor_Label[1],"center",true) guiSetFont(GUIEditor_Label[1],"clear-normal") fadeCamera(false,10.0) setTimer( fadeCamera, 10000,1,true) setTimer ( guiSetVisible, 10000, 1, GUIEditor_Label[1], false) triggerServerEvent(source,"blurFade",source) end addEvent("fadeNew",true) addEventHandler("fadeNew",getRootElement(),lol) addEventHandler("onClientResourceStart",getResourceRootElement(getThisResource()),lol) GUIEditor_Button = {} GUIEditor_Window = {} GUIEditor_Memo = {} function loled() GUIEditor_Window[1] = guiCreateWindow(0.2805,0.2139,0.4172,0.5713,"Rules ",true) guiSetAlpha(GUIEditor_Window[1],0.80000001192093) GUIEditor_Memo[1] = guiCreateMemo(16,38,501,490," Here is a list of our rules, respect them.\n\n\n1. Do NOT use any kinds of hacks and cheats. \n\n2. Do NOT argue with staff, our is last word.\n\n3. Respect other players , especially members.\n\n4. Dont fight with others.\n\n5. Dont use any outgame modified handlings ( use handling editor for that, more info on F9 ) \n\n6. Never ask for membership, we will ask you .\n\n7. Dont bother staff .\n\n8. Have a bit of experience .\n\n9. If something is not understand to you , just read help on F9 .\n\n10. Dont spam vehicles , dont RAM others.\n\n\nAbove all , have fun !\n\n\n\n\nNote: Every rule break can result as kick / ban or permaban.",false,GUIEditor_Window[1]) GUIEditor_Button[1] = guiCreateButton(211,547,128,29,"Accept !",false,GUIEditor_Window[1]) addEventHandler("onClientGUIClick",GUIEditor_Button[1],showNamePanel) setTimer ( guiSetEnabled, 10000, 2, GUIEditor_Window[1], true) triggerServerEvent(source,"rulesOnJoin",source) showCursor(true) end addEvent("blabla",true) addEventHandler("blabla",getRootElement(), loled) function showNamePanel () local playerName = getPlayerName ( getLocalPlayer() ) if guiGetVisible (GUIEditor_Window[1]) then guiSetVisible (GUIEditor_Window[1], false) showCursor (false) else guiSetVisible (GUIEditor_Window[1], true) showCursor (true) triggerServerEvent("namePanelServer",source) end end addEvent("namePanel",true) addEventHandler("namePanel",getRootElement(),showNamePanel) Server: function fade() fadeCamera(true,10.0) triggerClientEvent(source , "fadeNew", source) end addEventHandler("onPlayerJoin",getRootElement(),fade) addEvent( "blurFade",true ) addEventHandler("blurFade",getRootElement(),fade) function rulesS() triggerClientEvent(source,"namePanel",source) end addEvent("namePanelServer",true) addEventHandler("namePanelServer",getRootElement(),rulesS) No errors in debug .
  4. Red color is 255,0,0 AFAIK.
  5. CapY

    repair vehicle

    But you could just bind it .. like this /bind b fix
  6. Loool , create meta.xml in that folder where you placed your resource For example , your script name is: admincolumn.lua you paste Jesse's code in that file and after that you create meta.xml For more info look here : https://wiki.multitheftauto.com/wiki/Meta.xml
  7. CapY

    Help in Logo!

    This is the whole script and something is not good inside .. it seems we are messed 2 scripts in one . Client : GUIEditor_Label = {} function lol () GUIEditor_Label[1] = guiCreateLabel(0.4063,0.3779,0.1531,0.209,"Welcome to our server ! Server is under construction at the moment , but feel free to play on it , expect more gamemodes from us , more features and much , much more ...",true) guiLabelSetColor(GUIEditor_Label[1],0,255,0) guiLabelSetVerticalAlign(GUIEditor_Label[1],"center") guiLabelSetHorizontalAlign(GUIEditor_Label[1],"center",true) guiSetFont(GUIEditor_Label[1],"clear-normal") fadeCamera(false,10.0) setTimer( fadeCamera, 10000,1,true) setTimer ( guiSetVisible, 10000, 1, GUIEditor_Label[1], false) triggerServerEvent(source,"blurFade",source) end addEvent("fadeNew",true) addEventHandler("fadeNew",getRootElement(),lol) addEventHandler("onClientResourceStart",getRootElement(),lol) GUIEditor_Button = {} GUIEditor_Window = {} GUIEditor_Memo = {} function loled() GUIEditor_Window[1] = guiCreateWindow(0.2805,0.2139,0.4172,0.5713,"Rules ",true) guiSetAlpha(GUIEditor_Window[1],0.80000001192093) GUIEditor_Memo[1] = guiCreateMemo(16,38,501,490," Here is a list of our rules, respect them.\n\n\n1. Do NOT use any kinds of hacks and cheats. \n\n2. Do NOT argue with staff, our is last word.\n\n3. Respect other players , especially members.\n\n4. Dont fight with others.\n\n5. Dont use any outgame modified handlings ( use handling editor for that, more info on F9 ) \n\n6. Never ask for membership, we will ask you .\n\n7. Dont bother staff .\n\n8. Have a bit of experience .\n\n9. If something is not understand to you , just read help on F9 .\n\n10. Dont spam vehicles , dont RAM others.\n\n\nAbove all , have fun !\n\n\n\n\nNote: Every rule break can result as kick / ban or permaban.",false,GUIEditor_Window[1]) GUIEditor_Button[1] = guiCreateButton(211,547,128,29,"Accept !",false,GUIEditor_Window[1]) addEventHandler("onClientGUIClick",GUIEditor_Button[1],showNamePanel) setTimer ( guiSetEnabled, 10000, 2, GUIEditor_Window[1], true) triggerServerEvent(source,"rulesOnJoin",source) showCursor(true) end addEvent("blabla",true) addEventHandler("blabla",getRootElement(), loled) function showNamePanel () local playerName = getPlayerName ( getLocalPlayer() ) if guiGetVisible (GUIEditor_Window[1]) then guiSetVisible (GUIEditor_Window[1], false) showCursor (false) else guiSetVisible (GUIEditor_Window[1], true) showCursor (true) triggerServerEvent(source,"namePanelServer",source) end end addEvent("namePanel",true) addEventHandler("namePanel",getRootElement(),showNamePanel) GUI Label is okay, but rules window is not displayed after label. And server : function fade() fadeCamera(true,10.0) triggerClientEvent(source , "fadeNew", source) end addEventHandler("onPlayerJoin",getRootElement(),fade) addEvent( "blurFade",true ) addEventHandler(source,"blurFade",source) function rulesS() triggerClientEvent(source,"namePanel",source) end addEvent("namePanelServer",true) addEventHandler("namePanelServer",getRootElement(),rulesS)
  8. CapY

    Voice

    How to enable voice chat , i mean it is started , but it's not enabled .
  9. CapY

    Help in Logo!

    Can i seperate first and second part in 2 different folders ? Edit: I really dont get what is wrong here ... Client: GUIEditor_Button = {} GUIEditor_Window = {} GUIEditor_Memo = {} function loled() GUIEditor_Window[1] = guiCreateWindow(0.2805,0.2139,0.4172,0.5713,"Rules ",true) guiSetAlpha(GUIEditor_Window[1],0.80000001192093) GUIEditor_Memo[1] = guiCreateMemo(16,38,501,490," Here is a list of our rules, respect them.\n\n\n1. Do NOT use any kinds of hacks and cheats. \n\n2. Do NOT argue with staff, our is last word.\n\n3. Respect other players , especially members.\n\n4. Dont fight with others.\n\n5. Dont use any outgame modified handlings ( use handling editor for that, more info on F9 ) \n\n6. Never ask for membership, we will ask you .\n\n7. Dont bother staff .\n\n8. Have a bit of experience .\n\n9. If something is not understand to you , just read help on F9 .\n\n10. Dont spam vehicles , dont RAM others.\n\n\nAbove all , have fun !\n\n\n\n\nNote: Every rule break can result as kick / ban or permaban.",false,GUIEditor_Window[1]) GUIEditor_Button[1] = guiCreateButton(211,547,128,29,"Accept !",false,GUIEditor_Window[1]) setTimer ( guiSetEnabled, 10000, 2, GUIEditor_Window[1], true) triggerServerEvent(source,"rulesOnJoin",source) showCursor(true) end addEvent("blabla",true) addEventHandler("blabla",getRootElement(), loled) function showNamePanel () local playerName = getPlayerName ( getLocalPlayer() ) if guiGetVisible (GUIEditor_Window[1]) then guiSetVisible (GUIEditor_Window[1], false) showCursor (false) else guiSetVisible (GUIEditor_Window[1], true) showCursor (true) addEventHandler("onClientGUIClick",GUIEditor_Button[1],showNamePanel) triggerServerEvent(source,"namePanelServer",source) end end addEvent("namePanel",true) addEventHandler("namePanel",getRootElement(),showNamePanel) Server: function OnjoinRules() triggerClientEvent(source,"blabla",source) end addEvent("rulesOnJoin",true) addEventHandler("rulesOnJoin",getRootElement(),OnjoinRules) addEventHandler("onPlayerJoin",getRootElement(),OnjoinRules) function serverRules() triggerClientEvent(source,"namePanel",source) end addEvent("namePanelServer",true) addEventHandler("namePanelServer",getRootElement(),serverRules) When i click accept , window doesnt want to dissapear. -.-
  10. CapY

    Help in Logo!

    Client : GUIEditor_Label = {} function lol () GUIEditor_Label[1] = guiCreateLabel(0.4063,0.3779,0.1531,0.209,"Welcome to our server ! Server is under construction at the moment , but feel free to play on it , expect more gamemodes from us , more features and much , much more ...",true) guiLabelSetColor(GUIEditor_Label[1],0,255,0) guiLabelSetVerticalAlign(GUIEditor_Label[1],"center") guiLabelSetHorizontalAlign(GUIEditor_Label[1],"center",true) guiSetFont(GUIEditor_Label[1],"clear-normal") fadeCamera(false,10.0) setTimer( fadeCamera, 10000,1,true) setTimer ( guiSetVisible, 10000, 1, GUIEditor_Label[1], false) triggerServerEvent(source"blurFade",source) end addEvent("fadeNew",true) addEventHandler("fadeNew",getRootElement(),lol) addEventHandler("onClientResourceStart",getResourceRootElement(getThisResource()),lol) GUIEditor_Button = {} GUIEditor_Window = {} GUIEditor_Memo = {} function loled() GUIEditor_Window[1] = guiCreateWindow(0.2805,0.2139,0.4172,0.5713,"Rules ",true) guiSetAlpha(GUIEditor_Window[1],0.80000001192093) GUIEditor_Memo[1] = guiCreateMemo(16,38,501,490," Here is a list of our rules, respect them.\n\n\n1. Do NOT use any kinds of hacks and cheats. \n\n2. Do NOT argue with staff, our is last word.\n\n3. Respect other players , especially members.\n\n4. Dont fight with others.\n\n5. Dont use any outgame modified handlings ( use handling editor for that, more info on F9 ) \n\n6. Never ask for membership, we will ask you .\n\n7. Dont bother staff .\n\n8. Have a bit of experience .\n\n9. If something is not understand to you , just read help on F9 .\n\n10. Dont spam vehicles , dont RAM others.\n\n\nAbove all , have fun !\n\n\n\n\nNote: Every rule break can result as kick / ban or permaban.",false,GUIEditor_Window[1]) GUIEditor_Button[1] = guiCreateButton(211,547,128,29,"Accept !",false,GUIEditor_Window[1]) setTimer ( guiSetEnabled, 10000, 2, GUIEditor_Window[1], true) triggerServerEvent(source,"rulesOnJoin", source) showCursor(true) end addEvent("blabla",true) addEventHandler("blabla",getRootElement(), loled) function showRulePanel () local playerName = getPlayerName ( getLocalPlayer() ) if guiGetVisible (GUIEditor_Window[1]) then guiSetVisible (GUIEditor_Window[1], false) showCursor (false) removeEventHandler("onClientGUIClick",GUIEditor_Button[1],showRulePanel) else guiSetVisible (GUIEditor_Window[1], true) showCursor (true) addEventHandler("onClientGUIClick",GUIEditor_Button[1],showRulePanel) end end Server : function fade() fadeCamera(true,10.0) triggerClientEvent(source , "fadeNew", source) end addEventHandler("onPlayerJoin",getRootElement(),fade) addEvent( "blurFade",true ) addEventHandler(source,"blurFade",source) function OnjoinRules() triggerClientEvent("blabla",getRootElement(), source) end addEvent("rulesOnJoin",true) addEventHandler("rulesOnJoin",getRootElement(),OnjoinRules)
  11. CapY

    Help in Logo!

    And see your work errors. blurgui\server.lua:7: Bad argument @ 'addEventHandler' [Expected string at argument 1, got nil] client.lua:12: attempt to call global 'source' ( a usedata value )
  12. CapY

    Help in Logo!

    Events are already trigered .
  13. CapY

    Help in Logo!

    and for one it will be like this : addEventHandler("onPlayerJoin",getRootElement(),OnjoinRules,fade) ??
  14. CapY

    Help in Logo!

    Bump * Okay .. client is fixed now , but rules and welcome label shows up in the same time , how to fix it ? Client : GUIEditor_Label = {} function lol () GUIEditor_Label[1] = guiCreateLabel(0.4063,0.3779,0.1531,0.209,"Welcome to our server ! Server is under construction at the moment , but feel free to play on it , expect more gamemodes from us , more features and much , much more ...",true) guiLabelSetColor(GUIEditor_Label[1],0,255,0) guiLabelSetVerticalAlign(GUIEditor_Label[1],"center") guiLabelSetHorizontalAlign(GUIEditor_Label[1],"center",true) guiSetFont(GUIEditor_Label[1],"clear-normal") fadeCamera(false,10.0) setTimer( fadeCamera, 10000,1,true) setTimer ( guiSetVisible, 10000, 1, GUIEditor_Label[1], false) triggerServerEvent(source"blurFade",source) end addEvent("fadeNew",true) addEventHandler("fadeNew",getRootElement(),lol) addEventHandler("onClientResourceStart",getResourceRootElement(getThisResource()),lol) GUIEditor_Button = {} GUIEditor_Window = {} GUIEditor_Memo = {} function loled() GUIEditor_Window[1] = guiCreateWindow(0.2805,0.2139,0.4172,0.5713,"Rules ",true) guiSetAlpha(GUIEditor_Window[1],0.80000001192093) GUIEditor_Memo[1] = guiCreateMemo(16,38,501,490," Here is a list of our rules, respect them.\n\n\n1. Do NOT use any kinds of hacks and cheats. \n\n2. Do NOT argue with staff, our is last word.\n\n3. Respect other players , especially members.\n\n4. Dont fight with others.\n\n5. Dont use any outgame modified handlings ( use handling editor for that, more info on F9 ) \n\n6. Never ask for membership, we will ask you .\n\n7. Dont bother staff .\n\n8. Have a bit of experience .\n\n9. If something is not understand to you , just read help on F9 .\n\n10. Dont spam vehicles , dont RAM others.\n\n\nAbove all , have fun !\n\n\n\n\nNote: Every rule break can result as kick / ban or permaban.",false,GUIEditor_Window[1]) GUIEditor_Button[1] = guiCreateButton(211,547,128,29,"Accept !",false,GUIEditor_Window[1]) setTimer ( guiSetEnabled, 10000, 2, GUIEditor_Window[1], true) triggerServerEvent(source,"rulesOnJoin", source) end addEvent("blabla",true) addEventHandler("blabla",getRootElement(), loled) addEventHandler("onClientGUIClick",getRootElement(),GUIEditor_Button[1])
  15. CapY

    Help in Logo!

    I scripted rules window totally wrong .. Server : function fade() fadeCamera(true,10.0) triggerClientEvent(source , "fadeNew", source) end addEventHandler("onPlayerJoin",getRootElement(),fade) addEvent( "blurFade",true ) addEventHandler("blurFade",getRootElement(),fade) function OnjoinRules() triggerClientEvent(source,"blabla", source) end addEventHandler("onPlayerJoin",getRootElement(),OnjoinRules) addEvent("rulesOnJoin",true) addEventHandler("rulesOnJoin",getRootElement(),OnjoinRules) Client: GUIEditor_Label = {} function lol () GUIEditor_Label[1] = guiCreateLabel(0.4063,0.3779,0.1531,0.209,"Welcome to our server ! Server is under construction at the moment , but feel free to play on it , expect more gamemodes from us , more features and much , much more ...",true) guiLabelSetColor(GUIEditor_Label[1],0,255,0) guiLabelSetVerticalAlign(GUIEditor_Label[1],"center") guiLabelSetHorizontalAlign(GUIEditor_Label[1],"center",true) guiSetFont(GUIEditor_Label[1],"clear-normal") fadeCamera(false,10.0) setTimer( fadeCamera, 10000,1,true) setTimer ( guiSetVisible, 10000, 1, GUIEditor_Label[1], false) triggerServerEvent(source"blurFade",source) end addEvent("fadeNew",true) addEventHandler("fadeNew",getRootElement(),lol) addEventHandler("onClientResourceStart",getResourceRootElement(getThisResource()),lol) GUIEditor_Button = {} function loled() Window[1] = guiCreateWindow(0.2805,0.2139,0.4172,0.5713,"Rules ",true) guiSetAlpha(Window[1],0.80000001192093) RulesMemo[1] = guiCreateMemo(16,38,501,490," Here is a list of our rules, respect them.\n\n\n1. Do NOT use any kinds of hacks and cheats. \n\n2. Do NOT argue with staff, our is last word.\n\n3. Respect other players , especially members.\n\n4. Dont fight with others.\n\n5. Dont use any outgame modified handlings ( use handling editor for that, more info on F9 ) \n\n6. Never ask for membership, we will ask you .\n\n7. Dont bother staff .\n\n8. Have a bit of experience .\n\n9. If something is not understand to you , just read help on F9 .\n\n10. Dont spam vehicles , dont RAM others.\n\n\nAbove all , have fun !\n\n\n\n\nNote: Every rule break can result as kick / ban or permaban.",false,Window[1]) GUIEditor_Button[1] = guiCreateButton(211,547,128,29,"Accept !",false,Window[1]) setTimer ( guiSetVisible, 30000, 2, Window[1], false) triggerServerEvent(source,"rulesOnJoin", source) end addEvent("blabla",true) addEventHandler("blabla",getRootElement(), loled) addEventHandler("onClientGUIClick",getRootElement(),GUIEditor_Button[1]) Memo is not displayed, button too .
  16. CapY

    NEED HELP

    You can write a book of wishes if you want .
  17. It crashes when i trying to open client or server in resource.
  18. CapY

    Help in Logo!

    Oh thank you so much ! Is it possible to display rules window after that 10 seconds ?
  19. CapY

    Help in Logo!

    I did take your code 3 times , but i removed it because it didnt worked and i backed my old one code ! EDIT: Jacob my PC literally freezes with your server code .
  20. BinSlayer just upload that two plugins please.
  21. CapY

    Taken vehicle

    Lol i have created vehicles in map , so i dont need .
×
×
  • Create New...