Jump to content

JR10

Retired Staff
  • Posts

    2,947
  • Joined

  • Last visited

Everything posted by JR10

  1. JR10

    Gridlist help

    for index, player in ipairs ( getElementsByType ( "player" ) ) do local row = guiGridListAddRow ( GUIEditor_Grid[1] ) guiGridListSetItemText ( GUIEditor_Grid[1] , row , 1 , getPlayerName ( player ) , false , false ) end
  2. outputChatBox(hexColor..getPlayerName(targetPlayer )..": #FFFFFF"..message ,root,255,255,255,true)
  3. JR10

    Converter

    Are you serious, how is it possible to take a client, and create a server for it. Magic?
  4. JR10

    Converter

    Lol, you have got to be kidding me. What do you mean by Client To Server converter? So you take a client, and you convert it to server, and use it?
  5. Read the Server Manual Or just skip to Adding Administrators
  6. Login an admin account, then do /debugscript 3 again.
  7. Did you actually start the resource??
  8. JR10

    Cbug script

    What you mean exactly, by cbug?
  9. Wow, fantastic work. I liked the trailer. Good job. Can't wait for the full version.
  10. JR10

    Help Please :(

    You are probably, using it wrong. exp_system is for any mode, you decide how it works. Example: addEventHandler("onPlayerWasted", root, function(ammo, killer) exports["exp_system"]:addPlayerEXP(killer, 1) end) This will give the killer 1 exp.
  11. JR10

    Cbug script

    Then the problem is with the script, I tried setGlitchEnabled before, if I remember correctly, it didn't work.
  12. addEventHandler("onClientResourceStart",resourceRoot, function() GUIEditor_TabPanel = {} GUIEditor_Tab = {} GUIEditor_Memo = {} GUIEditor_Image = {} MTAWelcome_Window = guiCreateWindow(279,145,717,624,"Welcome to Multi Theft Awesome [v0.01]",false) guiSetAlpha(MTAWelcome_Window,0.80000001192093) GUIEditor_TabPanel[1] = guiCreateTabPanel(13,25,684,558,false,MTAWelcome_Window) WelcomeTab = guiCreateTab("Welcome",GUIEditor_TabPanel[1]) WelcomeTab_Image1 = guiCreateStaticImage(3,6,674,132,"images/logo.png",false,WelcomeTab) WelcomeTab_Image2 = guiCreateStaticImage(0,104,408,207,"images/admhelp.png",false,WelcomeTab) GUIEditor_TabPanel[2] = guiCreateTabPanel(395,125,272,151,false,WelcomeTab) WelcomeTab_DevelopersTab = guiCreateTab("Developers",GUIEditor_TabPanel[2]) DevTab_Memo = guiCreateMemo(6,8,259,110,"TheBetaFox - Owner, scripter, mapper",false,WelcomeTab_DevelopersTab) guiMemoSetReadOnly(DevTab_Memo,true) WelcomeTab_AdminTab = guiCreateTab("Admins",GUIEditor_TabPanel[2]) AdmTab_Memo = guiCreateMemo(7,8,258,112,"WindHedgehog - Administrator\nMorrowind3 - Administrator",false,WelcomeTab_AdminTab) guiMemoSetReadOnly(AdmTab_Memo,true) WelcomeTab_ModTab = guiCreateTab("Moderators",GUIEditor_TabPanel[2]) ModTab_Memo = guiCreateMemo(4,5,262,118,"Mr. Placeholder - Head moderator\nMrs. Wtfhax - Moderator",false,WelcomeTab_ModTab) guiMemoSetReadOnly(ModTab_Memo,true) GUIEditor_TabPanel[3] = guiCreateTabPanel(42,336,254,125,false,WelcomeTab) GUIEditor_Tab[1] = guiCreateTab("General Help",GUIEditor_TabPanel[3]) GUIEditor_Memo[1] = guiCreateMemo(5,5,244,115,"See these commands for help:\n\n/help - shows a list of commands.\n/teles - shows a list of teleports.",false,GUIEditor_Tab[1]) GUIEditor_Image[1] = guiCreateStaticImage(314,296,370,200,"images/genhelp.png",false,WelcomeTab) InfoTab = guiCreateTab("Information/Credits",GUIEditor_TabPanel[1]) InfoTab_Image0 = guiCreateStaticImage(13,12,668,131,"images/logo.png",false,InfoTab) Infotab_Image1 = guiCreateStaticImage(111,78,349,178,"images/credhelp.png",false,InfoTab) GUIEditor_Memo[2] = guiCreateMemo(23,248,635,260,"Credits go to the following people:\n\n\nDevelopers & Admins:\n TheBetaFox\n\nIdeagivers:\n Inku, Morrowind3, WindHedgehog\n\nInspiration:\n [sFSE]luggi, Mave, Zezombia, Andre, robhol, Gamesnert, Morrowind3, WindHedgehog, Inku, MaykoX",false,InfoTab) MTAWelcomeWindow_Progress = guiCreateProgressBar(10,585,647,30,false,MTAWelcome_Window) guiProgressBarSetProgress(MTAWelcomeWindow_Progress,15) MTA_WelcomeWindow_Close = guiCreateButton(659,584,39,31,"X",false,MTAWelcome_Window) addEventHandler ( "onClientGUIClick", MTA_WelcomeWindow_Close, closeWindow) guiSetFont(MTA_WelcomeWindow_Close,"default-bold-small") guiSetVisible(MTAWelcome_Window, true) showCursor(true) guiSetInputEnabled(true) end ) function closeWindow() guiSetVisible(MTAWelcome_Window, false) showCursor(false) guiSetInputEnabled(false) end
  13. Server launching 00:00 GMT tonight.
  14. No, look, read this: https://wiki.multitheftauto.com/wiki/Server_Manual And then, read the scripting tutorials in the wiki: https://wiki.multitheftauto.com/wiki/Main_Page
  15. JR10

    Cbug script

    Are you sure you started it? Try outputting a message when the script starts, to check if it really starts.
  16. JR10

    I cant my Own Server

    Try this: viewtopic.php?f=114&t=34801&p=362672&hilit=ports#p362672 Also this will help : https://wiki.multitheftauto.com/wiki/Server_Manual
  17. JR10

    Cbug script

    Lol, yes.
  18. JR10

    Cbug script

    Why putting it in startup, just type start cbug.
  19. outputChatBox(getPlayerName(p).." pushes "..getPlayerName(pushPlayer).." up!", root, 255, 0, 0)
  20. JR10

    Cbug script

    Yes, you did.
  21. Post the errors/warnings use /debugscript 3
  22. JR10

    [ Help ] Panel

    Dude, I don't understand what's the problem, explain better.
  23. There is arguments for colors. outputChatBox("RED", root, 255, 0, 0) 255 , 0 , 0 Represents the color which will be red in this case. Read the arguments of every function @ the wiki : https://wiki.multitheftauto.com/wiki/Main_Page
  24. JR10

    Cbug script

    Read the previous posts.
  25. JR10

    [ Help ] Panel

    I don't understand what you mean, the GUI is in a wrong position?
×
×
  • Create New...