Jump to content

Jaysds1

Members
  • Posts

    4,961
  • Joined

  • Last visited

Everything posted by Jaysds1

  1. Jaysds1

    don't work

    ok, wat ever, Manve1 does my script work?
  2. Jaysds1

    don't work

    source isn't defined try this: function cry_baby(source) setTimer(outputChatBox,100,1,"#FF0000 Cries like a baby #0000FF (( #FFFFFF".. getPlayerName(source) .."#0000FF ))",source,255,255,255,true) end addCommandHandler( "cry", cry_baby ) BTW, make sure this is server-side, but if it's client-side try this: function cry_baby() local source = localPlayer setTimer(outputChatBox,100,1,"#FF0000 Cries like a baby #0000FF (( #FFFFFF".. getPlayerName(source) .."#0000FF ))",source,255,255,255,true) end addCommandHandler( "cry", cry_baby )
  3. well, it's based on the script so, edit the dxDrawImage, you could adjust the image size in anyway or form... play around with it and see the results
  4. ok, example: local count = 0 timer = setTimer(function() if count==5 then outputChatBox("You have won!") killTimer(timer) else count = count + 1 end end,1000,0)
  5. Calm down, there's no difference...
  6. when you run the MTADiag, type in 'n' for no and the program should open up a url to a site called 'PasteBin' after all that, can you paste the url here please.
  7. actually, his script should work, make sure the images are the same in the script, example: Dios.png
  8. ya http://wiki.projectredivivus.com/index. ... g/newusers
  9. well, you could make a system, but it's just going to be a waste of time other than that, no
  10. I'm not sure what to say... ok, try lower-casing the resource name, actually, post screenshots of you going to the folder with the flags please
  11. try downloading another MTA server to a different folder
  12. ok, and for the dxscoreboard, try this: elseif column.name == "Location" then if not dxDrawImage( topX+theX, y+s(1), 16, 11, content, 0, 0, 0, cWhite, drawOverGUI ) then dxDrawText(content,topX+theX, y+s(1), 16, 11,cWhite,1,"default","left","top",false,false,drawOverGUI) end else
  13. ok, try this: exports.scoreboard:addScoreboardColumn('Location') function addLoc() local Loc = exports.admin:getPlayerCountry ( source ) if Loc then outputChatBox(Loc) setElementData(source,"Location",":ENLLoc/flags/"..string.lower(Loc)..".png", true) else setElementData(source,"Location","N/A", true) end end addEventHandler("onPlayerJoin",root, addLoc)
  14. Do you have a resource called flags?
  15. Well, it is possible, but it's going to take lots of time, and you would need to use: guiCreateStaticImage ALOT!
×
×
  • Create New...