Jump to content

xXMADEXx

Members
  • Posts

    2,718
  • Joined

  • Last visited

Everything posted by xXMADEXx

  1. xXMADEXx

    [SOLVED]

    Umm the col files are just the collisions.. They're not need in every script/map.
  2. I have fixed the script on my local server. (the Y in dxDrawImage might need a little adjusting) local isPlayerViewingPanel = false local sw,sh = guiGetScreenSize() function main ( ) if isPlayerViewingPanel then start = getTickCount() addEventHandler ( "onClientRender", root, dxDrawTheImage ) else removeEventHandler("onClientRender", root, dxDrawTheImage) end end function dxDrawTheImage() x,y = guiGetScreenSize() ancho=550 alto=480 local now = getTickCount() local elapsedTime = now - start local endTime = start + 1500 local duration = endTime - start local progress = elapsedTime / duration local x1, y1, z1 = interpolateBetween ( 0, 0, 0, ancho, alto, 255, progress, "OutBounce") local x2, y2, z2 = interpolateBetween ( 0, 0, 0, ancho, alto, alto/11, progress, 'OutBounce') posx = (x/2)-(x1/2) posy = (y/2)-(y1/2) dxDrawImage ( posx, posy-y2/2, x2, y2, "window.png" ) dxDrawText ( "Rules", sw/2 - 26, sh/2 - 230, sw/2 + 175, sh/2 + 80, tocolor ( 255, 255, 255, 255 ), 1.6, "default-bold") end bindKey("O", "down",function() if ( isPlayerViewingPanel == true ) then isPlayerViewingPanel = false showCursor (false) main() else isPlayerViewingPanel = true showCursor (true) main() end end )
  3. Lolz, thats not the right file.
  4. I like Vortex Servers...
  5. xXMADEXx

    help please !

    use: addEvent addEventHandler triggerServerEvent takePlayerMoney
  6. xXMADEXx

    Blip

    You'll need to edit the "playerblips" resource.
  7. To set a rotation of an image, you have to use: dxDrawImage
  8. Cool, good luck with it.
  9. Thank you! New Version Released: v1.1 Whats added? - Fixed a bug with the max messages - Added a new bottom bar, with a new argument "topBar." New format code: Client: bool sendClientMessage ( string text [, int r=0, int g=0, int b=0, bool topBar=true ] ) [b]Required Arguments[/b] Text - the text that will be outputed into the bar [b]Optional Arguments[/b] r - The amount of red you want in the mixture of RGB (0-255 is valid) g - The amount of green you want in the mixture of RGB (0-255 is valid) b - The amount of blue you want in the mixture of RGB (0-255 is valid) topBar - If true then the message will be sent to the top bar, if false the it will be sent to the bottom bar Server: bool sendClientMessage ( string text, player thePlayer [, int r=0, int g=0, int b=0, bool topBar=true ] ) [b]Required Arguments[/b] Text - the text that will be outputed into the bar thePlayer - The player the message will be sent to (use root for all) [b]Optional Arguments[/b] r - The amount of red you want in the mixture of RGB (0-255 is valid) g - The amount of green you want in the mixture of RGB (0-255 is valid) b - The amount of blue you want in the mixture of RGB (0-255 is valid) topBar - If true then the message will be sent to the top bar, if false the it will be sent to the bottom bar
  10. Thank you Yea, you have my permission, no prob (If you want help i can help you.) Do whatever else you want to it too, just please don't remove my credits. If you make the one with bottom too it would be good Or new argument for making message at bottom I might be able to make a new argument to make it come out on the bottom... Ill try it Edit: This has been added.
  11. use this for the meta: <meta> <script src="script.lua" /> </meta>
  12. use these for your database stuff: https://wiki.multitheftauto.com/wiki/Se ... _functions
  13. Why dont you just use the default MTA functions? There more efficient.
  14. You can use this: http://gtamap.delux-host.com/converter/ to convert it to a .map or .lua file.
  15. These files (with default MTA installation path): (64-bit system): C:\Program Files (x86)\MTA San Andreas 1.3\skins (32-bit system): C:\Program Files\MTA San Andreas 1.3\skins
  16. Yea, you have my permission, no prob (If you want help i can help you.) Do whatever else you want to it too, just please don't remove my credits.
  17. https://community.multitheftauto.com/index.php?p= ... ls&id=7689 (Original: https://community.multitheftauto.com/index.php?p= ... ls&id=7539) DONE
  18. Thats because its on the client side. You need to make it trigger to the server side, get the info and trigger back to the client side.
  19. Woops O_O I ment to post in Resources section.. Admin please move to resources.
  20. Information & Fetures: Hi guys! Today i've made a top bar chat for the MTA community. Please let me know what you think of this script, and rate it 5/5 on MTA community website! Community Link The last message sent will have the darkest alpha, and every message lasts for 8 seconds. The maximum messages that it will show at a time is 5, and the lasting time + max messages are very easy to change. (can only be changed in the uncompiled code.) Author: xXMADEXx Version 1.4: Changelog: - Added messages fade in/out - Replaced timers with getTickCount ( ) - Made it so the same messages can be showed more than once Syntax (server) bool sendClientMessage ( string message, player thePlayer [, int r=255, int g=255, int b=255, bool topBar=true, int time=8 ] ) [b]Required Arguments[/b] message: The text that will be applied to the bar. thePlayer: The player that the message will be sent to (use root for all) [b]Optional Arguments[/b] r: The amount of red you want in the mixture of RGB (0-255 is valid) g: The amount of greeen you want in the mixture of RGB (0-255 is valid) b: The amount of blue you want in the mixture of RGB (0-255 is valid) topBar: If set to true, then the message will send to the top bar, otherwise to the bottom bar time: The time the message will stay on the screen [b](unless the number of messages hits the maximum) (in seconds)[/b] Syntax (client) bool sendClientMessage ( string message [, int r=255, int g=255, int b=255, bool topBar=true, int time=8 ] ) [b]Required Arguments[/b] message: The text that will be applied to the bar. [b]Optional Arguments[/b] r: The amount of red you want in the mixture of RGB (0-255 is valid) g: The amount of greeen you want in the mixture of RGB (0-255 is valid) b: The amount of blue you want in the mixture of RGB (0-255 is valid) topBar: If set to true, then the message will send to the top bar, otherwise to the bottom bar time: The time the message will stay on the screen [b](unless the number of messages hits the maximum) (in seconds)[/b] Examples: -- Example 1: addEventHandler ( "onPlayerQuit", root, function ( ) exports["TopBarChat"]:sendClientMessage ( getPlayerName ( source ).." has left the server.", root, 255, 100, 100, true, 8 ) end ) -- Example 2: addEventHandler ( "onPlayerJoin", root, function ( ) exports["TopBarChat"]:sendClientMessage ( getPlayerName ( source ).." has connected to the server!", root, 255, 100, 100, false, 10 ) end ) Version 1.3: Version 1.1 - Version 1.2: Version 1.0:
  21. I have a question.. For the "Map uploader with admin panel" do you mean like an in-game FTP system?
×
×
  • Create New...