Jump to content

TheSmart

Members
  • Posts

    516
  • Joined

  • Last visited

Everything posted by TheSmart

  1. lets begin https://wiki.multitheftauto.com/wiki/Main_Page
  2. any error in debugscript 3?
  3. addEventHandler ( "onClientResourceStart" , resourceRoot , function ( ) engineImportTXD ( engineLoadTXD ( "fillname.txd" ) , 288 ) --Change this skin number "288" and add your skin there. engineReplaceModel ( engineLoadDFF ( "fillname.dff" ) , 288 ) --Same here,also change name to your file name. end ) now it will work
  4. addEventHandler("onClientResourceStart",resourceRoot, function () txd = engineLoadTXD ( "FileName.txd" ) --------- put your fill name engineImportTXD ( txd, 6 ) -------- skin id dff = engineLoadDFF ( "FileName.dff", 0 ) engineReplaceModel ( dff, 6 ) end)
  5. Here, I uploaded it to Vimeo. Link to video. thank you dude
  6. if i use it will slow down my net and it will take lots of time to load and better if you will upload it on facebook ?
  7. this is not right section for looking for scripters you must post your topic at here : viewforum.php?f=177
  8. Youtube is block in pakistan so i can't watch video. So, can you upload it to other website?
  9. Well don't know how to do it, can you do it? because i'm still new at Scripting.
  10. hey guys ! today i'm trying to make information panel but it's not working idk why can anybody fix it? --[[ Author : TheSm@rt Description : Help panel for servers ====== Help Panel ====== ]]-- addEventHandler("onClientRender", root, function() helpwindow = dxDrawRectangle(30, 65, 1067, 752, tocolor(6, 7, 6, 212), false) dxDrawText("Help Panel", 60, 76, 650, 174, tocolor(255, 255, 255, 255), 3.00, "bankgothic", "left", "top", false, false, false, false, false) dxDrawLine(30, 207, 1096, 207, tocolor(255, 255, 255, 255), 2, false) dxDrawLine(30, 211, 1095, 211, tocolor(255, 255, 255, 255), 1, false) dxDrawLine(30, 66, 1095, 66, tocolor(255, 255, 255, 255), 3, false) dxDrawLine(32, 817, 1097, 817, tocolor(255, 255, 255, 255), 3, false) dxDrawLine(1095, 66, 1095, 818, tocolor(255, 255, 255, 255), 3, false) dxDrawLine(30, 66, 30, 818, tocolor(255, 255, 255, 255), 3, false) end ) addEventHandler("onClientResourceStart", resourceRoot, function() Rules = guiCreateButton(34, 246, 214, 43, "Rules", false, helpwindow) guiSetAlpha(Rules, 0.52) guiSetFont(Rules, font0_PetitFormalScript) Command = guiCreateButton(34, 324, 214, 43, "Command", false, helpwindow) guiSetAlpha(Command, 0.52) guiSetFont(Command, font0_PetitFormalScript) Staff = guiCreateButton(34, 400, 214, 43, "Staff Member", false, helpwindow) guiSetAlpha(Staff, 0.52) guiSetFont(Staff, font1_PetitFormalScript) About = guiCreateButton(34, 476, 214, 43, "About Us", false, helpwindow) guiSetAlpha(About, 0.52) guiSetFont(About, font0_PetitFormalScript) Jobs = guiCreateButton(34, 546, 214, 43, "Jobs", false, helpwindow) guiSetAlpha(Jobs, 0.52) guiSetFont(Jobs, font0_PetitFormalScript) News = guiCreateButton(34, 621, 214, 43, "News", false, helpwindow) guiSetAlpha(News, 0.52) guiSetFont(News, font0_PetitFormalScript) helpmemo = guiCreateMemo(274, 251, 789, 538, "", false, helpwindow) guiMemoSetReadOnly(helpmemo, true) end ) function open() if (guiGetVisible (helpwindow) == false) then guiSetVisible(helpwindow, true) showCursor(true) local screenW,screenH=guiGetScreenSize() local windowW,windowH=guiGetSize(helpwindow,false) local x,y = (screenW-windowW)/2,(screenH-windowH)/2 guiSetPosition(helpwindow,x,y,false) centerWindow(helpwindow) elseif (guiGetVisible (helpwindow) == true) then guiSetVisible(helpwindow, false) showCursor(false) end end bindKey ("F1", "down", open) function rules () rulestxt = fileOpen("Rules.txt", true) rulestxt1 = fileRead(rulestxt, 50000) guiSetText(helpmemo, rulestxt1) end addEventHandler("onClientGUIClick", Rules, rules) function commands () rulestxt = fileOpen("Commands.txt", true) rulestxt1 = fileRead(rulestxt, 50000) guiSetText(helpmemo, rulestxt1) end addEventHandler("onClientGUIClick", Command, commands) function about () rulestxt = fileOpen("About.txt", true) rulestxt1 = fileRead(rulestxt, 50000) guiSetText(helpmemo, rulestxt1) end addEventHandler("onClientGUIClick", About, about) function staff () rulestxt = fileOpen("Staff.txt", true) rulestxt1 = fileRead(rulestxt, 50000) guiSetText(helpmemo, rulestxt1) end addEventHandler("onClientGUIClick", Staff, staff) function jobs () rulestxt = fileOpen("Jobs.txt", true) rulestxt1 = fileRead(rulestxt, 50000) guiSetText(helpmemo, rulestxt1) end addEventHandler("onClientGUIClick", Jobs, jobs) function news () rulestxt = fileOpen("News.txt", true) rulestxt1 = fileRead(rulestxt, 50000) guiSetText(helpmemo, rulestxt1) end addEventHandler("onClientGUIClick", News, news)
  11. but i don't know how to use it
  12. thnx guys i will try it and i will post code if something wrong with it.
  13. Hello guys! today i need little help im making dx help panel but i don't know how to make dxDrawRectangle button can anybody can tell me how i can do it?
  14. hello bhaiyo! mujha aaj ek choota sa code chaiya dxButton mujha koi bta ga ka mai kaisa dxbutton bnao? please ye mujha urgent chaiya thank you
  15. Woah good job dude Only one thing is hard that is Installation
  16. Never we will say that and stop talking about this now.
  17. Earthquake Early Warning FIQ
  18. loser orange zebra PPL
  19. united English TV SQL
  20. JUST TELL ME WHERE YOU SAW IT?
  21. where did you see that tell me huh
×
×
  • Create New...