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. np
  5. lol, ok, now BOT
  6. np
  7. 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)
  8. and resetTimer
  9. Calm down, there's no difference...
  10. 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.
  11. actually, his script should work, make sure the images are the same in the script, example: Dios.png
  12. np
  13. ya http://wiki.projectredivivus.com/index. ... g/newusers
  14. Jaysds1

    scoreboard

    np
  15. well, you could make a system, but it's just going to be a waste of time other than that, no
  16. 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
  17. try downloading another MTA server to a different folder
  18. 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
  19. and MTA: 3
  20. onPlayerLogout onPlayerLogin
  21. ok, copy the code again
  22. 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)
  23. Do you have a resource called flags?
  24. Well, it is possible, but it's going to take lots of time, and you would need to use: guiCreateStaticImage ALOT!
  25. was there any error?
×
×
  • Create New...