Jump to content

Cadu12

Retired Staff
  • Posts

    827
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by Cadu12

  1. Cadu12

    race problems

    Do you mean that you want delete votemap? If so, go to Admin Panel -> Resource tab -> Select "race" on list -> Settings -> Random maps change "false" to "true"
  2. Cadu12

    Help

    No. Not just so good. Stop writing "IS THIS GOOD?", "SCRIPT GOOD?" or "I'M GOOD?". First go test, if doesn't work then you can make new topic or post.
  3. Solidsnake14 is right. @On: You have to edit in race_client.lua
  4. It is possible move to MySQL. I made my own account system.
  5. You can do is MAKE YOUR OWM GAMEMODE, I know it is hard for you.
  6. Why not use: math.random(100) ?
  7. if (zombiekills <= 5) then elseif (zombiekills <= 10) then elseif (zombiekills <= 20) then ... end
  8. It is possible to launch using Lua. http://stackoverflow.com/questions/2829 ... -using-lua http://stackoverflow.com/questions/9535 ... pplication I tinhk should MTA remove that function.
  9. Oh my... Learn english what I am talking about your panel... Read again. You can get toptimes on labels, but you need have to go take a LOOK race_toptimes, COPY some lines and PASTE FROM YOUR PANEL. Also, we can't make example for you, becuase this is REQUEST and we do not accpet requests.
  10. viewtopic.php?f=108&t=39916 Make your own risk.
  11. If you want make it without colors, then you take a look at race_toptimes, and copy-paste to your script, should work.
  12. http://www.w3schools.com/php/php_file_upload.asp
  13. It is not hard to make colored, I already made it. Just edit ghost a bit. I wont do request it for you.
  14. function daFunction(thePlayer) setElementData(thePlayer, "data", "lol") data = getElementData(thePlayer, "data") callRemote("http://mywebsite.com/mta//information.php", function(arg1) outputChatBox(arg1) end, data) end addCommandHandler("data", daFunction)
  15. Todo. pizzao = createTeam( "Entregador de Pizza" ) function pQuit ( ) local team = getPlayerTeam ( source ) if ( team ) then setAccountData ( source, "job", getTeamName ( team ) ) end end addEventHandler ( "onPlayerQuit", root, pQuit ) function onPlayerLogin ( _, acc ) local teamName = getAccountData ( acc, "job" ) if ( teamName and #teamName ~= 0 ) then local team = getTeamFromName ( teamName ) if ( team ) then setPlayerTeam ( source, team ) end end end addEventHandler ( "onPlayerLogin", root, onPlayerLogin )
  16. We will never unban MOJRM, becuase MOJRM made virus in community and trying steal script. Some as member called "Scripter" in Arabic section. Also MLM(Multi Lingual Moderator) can't ban to anyone. TAPL never made shit.
  17. Cadu12

    MySQL

    What is your type? TEXT? VARCHAR? If it is TEXT or VARCHAR, try use: function setData ( source ) local x,y,z = getElementPosition ( source ) local r, g, b = getPlayerNametagColor ( source ) local isData = dbQuery ( database, "SELECT * FROM prsaver WHERE serial = '" .. getPlayerSerial ( source ) .. "'" ) local result = dbPoll ( isData, 0 ) if result and result ~= 0 then local qh = dbQuery -- Long code here dbFree ( qh ) end end
  18. Giving administraotr who do not want it, only want is MONEY. Good luck with it.
  19. local text = [[ arena [id] - for starting arenas /base [id] - for starting bases /end - for ending the round /add [id] - for adding the player to round /resetscore - restart all players and teams score /gunmenu [id] - for giving the gunmenu for the player /remove [id] - for removing the player from the round /screen id quaility(0-100) [taq] [width] [height] - for doing screenshot for the player /vote [base/arena] [id/ids] - for start the voting /car [id] - for get the vehicle in main lobby /clean - for restart the rounds history /pause - for pausing/repausing the round /swap - for change the teams sides /tp [id1] [id2] - for teleport the player1 to the player2 /heal [id] - for heal the player /healall - for heal all players /startmatch [base/tdm] [rounds] - for starting the match /endmatch - for ending the match /gun - re weapon select /rsp - for re-sync /view - for viewing the maps /n[edit] Default binds F1 - configuration panel F3 - client panel F4 - re-select team H - call help R - Realod the weapon ]] GUIEditor_Window = {} GUIEditor_TabPanel = {} GUIEditor_Tab = {} GUIEditor_Button = {} GUIEditor_Memo = {} GUIEditor_Radio = {} GUIEditor_Image = {} GUIEditor_Window[1] = guiCreateWindow(428,37,499,652,"Help Manager",false) guiWindowSetSizable(GUIEditor_Window[1],false) GUIEditor_TabPanel[1] = guiCreateTabPanel(21,120,469,523,false,GUIEditor_Window[1]) GUIEditor_Tab[1] = guiCreateTab("--------Server Info---------",GUIEditor_TabPanel[1]) GUIEditor_Image[1] = guiCreateStaticImage(4,1,464,491,"images/en.png",false,GUIEditor_Tab[1]) GUIEditor_Tab[2] = guiCreateTab("----------Server Rules----------",GUIEditor_TabPanel[1]) GUIEditor_Button[2] = guiCreateButton(11,10,182,44,"English",false,GUIEditor_Tab[2]) GUIEditor_Button[3] = guiCreateButton(267,13,191,44,"Arabic",false,GUIEditor_Tab[2]) GUIEditor_Image[2] = guiCreateStaticImage(9,61,452,427,"images/en.png",false,GUIEditor_Tab[2]) GUIEditor_Image[4] = guiCreateStaticImage(9,61,452,427,"images/en.png",false,GUIEditor_Tab[2]) GUIEditor_Tab[3] = guiCreateTab("-----Gamemode binds-----",GUIEditor_TabPanel[1]) GUIEditor_Memo[1] = guiCreateMemo(3,0,466,495,text,false,GUIEditor_Tab[3]) GUIEditor_Image[3] = guiCreateStaticImage(10,21,480,91,"images/logo.png",false,GUIEditor_Window[1]) function infoShow ( ) guiSetVisible ( GUIEditor_Window[1], not guiGetVisible ( GUIEditor_Window[1] ) ) showCursor ( not isCursorShowing( ) ) end bindKey ( "F1","down", infoShow ) addEventHandler ( "onClientGUIClick", root, function ( ) if ( source == GUIEditor_Button[3] ) then guiSetVisible( GUIEditor_Image[4], true ) guiSetVisible( GUIEditor_Image[2], false ) elseif ( source == GUIEditor_Button[3] ) then guiSetVisible( GUIEditor_Image[2], true ) guiSetVisible( GUIEditor_Image[4], false ) end end ) CLIENT-SIDE
  20. Desligar com CAPS LOCK, por favor. O que vc quer dizer? Voce quer faze baixar MTA versão 1.0.5?
  21. Cadu12

    how

    You can make your own camera system.
×
×
  • Create New...