Jump to content

Castillo

Retired Staff
  • Posts

    21,935
  • Joined

  • Last visited

  • Days Won

    6

Everything posted by Castillo

  1. Uhm, if you didn't then should work fine.
  2. Castillo

    Help ?

    Check this out https://wiki.multitheftauto.com/wiki/Resources
  3. Castillo

    Help ?

    When you download MTA it has already varius game modes and scripts on it, including race game mode, so you just start the game mode by start race on server console.
  4. Castillo

    Help ?

    Latest MTA version it's 1.0.4, you can download it here: http://www.multitheftauto.com/ and to set up a server it's very easy actually, read this manual and you should be able to get it up. https://wiki.multitheftauto.com/wiki/Server_Manual
  5. You didn't even search for it, you can find it on a quick look at wiki's main page. https://wiki.multitheftauto.com/wiki/CJ_Clothes
  6. an "answer"? do you mean a "question" maybe? check this link, it explains how to install the resources https://wiki.multitheftauto.com/wiki/Resources
  7. It's same, it's a public resource which doesn't do what you want.
  8. Oh, yeah, i did that at the start, but examples is one thing, complete scripts it's other thing.
  9. Phat, isn't this an old topic already?
  10. Yeah, but players must learn how to script also, and if you give them want their want they won't ever learn
  11. I wouldn't put my scripts open source even if it's a free host, since 10 year old kids can take the code and run it without even learn how to script, which is not good at all.
  12. I think this is a example from wiki, and you just want us to do the rest, that won't happend, start learning by yourself and post here when you get in trouble.
  13. Castillo

    help with GUI

    I don't understand what do you mean, explain yourself better please.
  14. I would like to have the moon, but i can't have it , this is easy to make it if you really want it. addEventHandler givePlayerMoney Enjoy
  15. Castillo

    PUSH

    How are you executing it? you must put the EXACT name to work.
  16. Castillo

    PUSH

    You can't do that, if someone else had a problem like this may help him too
  17. Castillo

    PUSH

    You should make it server side then. function push1 (thePlayer, commandName, who) player = getPlayerFromName(who) if isPedInVehicle(player) then local vehicle = getPedOccupiedVehicle(player) x,y,z = getElementVelocity(vehicle) setElementVelocity ( vehicle, x, y, z+0.20) outputChatBox("* You have been pushed by ".. getPlayerName(thePlayer),player,0,255,0) end end addCommandHandler("push", push1) <meta> <script src="push_c.lua" type="server" /> </meta>
  18. Castillo

    Help pls.

    We don't take request, you should ask how to do it instead. https://wiki.multitheftauto.com/wiki/RespawnVehicle https://wiki.multitheftauto.com/wiki/Scr ... troduction Check the links and if you got trouble post here.
  19. lol? you gotta be kidding me, i've found many players who speak english, they are from United States, England, and another countrys.
  20. Yeah, it has that kind of settings too now
  21. Of course, it has those settings: <settings> <setting name="*report_cmd" value="report" /> <setting name="*report_bind" value="F2" /> <setting name="*panel_bind" value="o" /> <setting name="*panel_cmd" value="cpanel" /> <setting name="*bandurations" value="60,2600,60000,0" friendlyname="Ban durations" group="Durations" examples="20,160,0" desc="Duration list for the ban window. Comma seperated list in seconds. 0 means no duration limit." /> </settings>
  22. To use a scrollPane you need many labels, not just one, this works now. addEventHandler( "onClientResourceStart", getResourceRootElement(getThisResource()), function() bindKey ( "F1", "down", toggleHelp) end ) GUIEditor_Window = {} GUIEditor_TabPanel = {} GUIEditor_Tab = {} GUIEditor_Label = {} GUIEditor_Window[1] = guiCreateWindow(171,158,452,337,"Help Menu",false) guiSetVisible(GUIEditor_Window[1],false) GUIEditor_TabPanel[1] = guiCreateTabPanel(19,34,411,287,false,GUIEditor_Window[1]) GUIEditor_Tab[1] = guiCreateTab("Rules",GUIEditor_TabPanel[1]) GUIEditor_Label[1] = guiCreateLabel(14,9,368,247,"1. Roleplay at ALL times, 2. Respect everyone we will not tolerate hostile behavior (occly) 3. No PowerGaming or MetaGaming 4. When pulling out a weapon you MUST use a /me to pull out the weapon/object 5. No Deathmatching 6. No cheats, hacks or bug abuse is allowed 7. No Ninja jacking, Pushing cars into the roads, or destorying cars occly 8. No vehicle sale scams 9. No advertising of other servers 10. Do not mix OOC chat with IC chat 11. No revenge killing \n\n**Any violation of the rules may result in a kick, jail time or even a ban! You have been warned.**",false,GUIEditor_Tab[1]) guiLabelSetColor(GUIEditor_Label[1],255,255,255) guiLabelSetVerticalAlign(GUIEditor_Label[1],"top") guiLabelSetHorizontalAlign(GUIEditor_Label[1],"left",true) GUIEditor_Tab[2] = guiCreateTab("Commands",GUIEditor_TabPanel[1]) GUIEditor_Label[2] = guiCreateLabel(18,-4,5,5,"",false,GUIEditor_Tab[2]) guiLabelSetColor(GUIEditor_Label[2],255,255,255) guiLabelSetVerticalAlign(GUIEditor_Label[2],"top") guiLabelSetHorizontalAlign(GUIEditor_Label[2],"left",false) GUIEditor_Label[3] = guiCreateLabel(16,9,369,247,"The following commands are already bound to your keyboard:\n\nt - IC Chat, only roleplayed chat should be used b - local OOC chat o - global OOC chat (if enabled) i - view your inventory f2 - brings up the report window __________________________________________________________________\n**Useful text commands (used with t)**\n/animlist - a list of animations /gate - opens doors (some are faction based) ",false,GUIEditor_Tab[2]) guiLabelSetColor(GUIEditor_Label[3],255,255,255) guiLabelSetVerticalAlign(GUIEditor_Label[3],"top") guiLabelSetHorizontalAlign(GUIEditor_Label[3],"left",true) GUIEditor_Tab[3] = guiCreateTab("FAQ",GUIEditor_TabPanel[1]) scrollPane = guiCreateScrollPane(20,5,361,270,false,GUIEditor_Tab[3]) GUIEditor_Label[4] = guiCreateLabel(17,13,361,253,"Q. I just started playing on the server, what can I do?\nA. In Strange Gaming you can do anything you set your mind to, want to be a multi millionaire tycoon? Start a business, want to be in the mafia? Find members and get involved. Most of these activities require you to visit the forums (StrangeGaming.tk) and join the specific group. \nQ. What's a faction? \nA. Factions are groups that roleplay a specific role with more in depth scripting oppertunities. Anyone can create a faction but to become official you must show longitivity and high roleplaying skill. \nQ. I found a bug, what do I do?\nA. Simply use f2 and report it to an admin to have it taken care of. \nQ. Whats Power Gaming? \nA. PowerGaming is forcing a player to roleplay your way with little to no roleplay.",false,scrollPane) GUIEditor_Label[5] = guiCreateLabel(17,245,361,253,"Q. What is MetaGaming?\nA. MetaGaming is using OOC information to benifit your player IC \nQ. What is revenge killing? \nA. Revenge killing is killing a player after he has RPly killed your character. When you die you should have no memory of your killer and go after him. If you must revenge your dealth find a good RP reason to if you can not DON'T DO IT.",false,scrollPane) guiLabelSetColor(GUIEditor_Label[4],255,255,255) guiLabelSetVerticalAlign(GUIEditor_Label[4],"top") guiLabelSetHorizontalAlign(GUIEditor_Label[4],"left",true) GUIEditor_Tab[4] = guiCreateTab("Sources",GUIEditor_TabPanel[1]) GUIEditor_Label[5] = guiCreateLabel(17,11,360,248,"Forums: [url=http://www.StrangeGaming.tk]http://www.StrangeGaming.tk[/url] Developer: Lukkaz \n \nWe are looking for more scripters so if you are interested go on the forums and speak to Lukkaz and prove your scripting abilities for a position on the team!",false,GUIEditor_Tab[4]) guiLabelSetColor(GUIEditor_Label[5],255,255,255) guiLabelSetVerticalAlign(GUIEditor_Label[5],"top") guiLabelSetHorizontalAlign(GUIEditor_Label[5],"left",true) GUIEditor_Label[6] = guiCreateLabel(282,26,147,24,"Strange Gaming",false,GUIEditor_Window[1]) guiLabelSetColor(GUIEditor_Label[6],255,255,255) guiLabelSetVerticalAlign(GUIEditor_Label[6],"top") guiLabelSetHorizontalAlign(GUIEditor_Label[6],"left",false) function toggleHelp () if ( guiGetVisible ( GUIEditor_Window[1] ) == true ) then -- check if the gui element is visible guiSetVisible ( GUIEditor_Window[1], false ) -- if it is, we hide it showCursor(false) else guiSetVisible ( GUIEditor_Window[1], true ) -- if not, we make it visible showCursor(true) end end
  23. Oh, so you are a prince huh? know what? you should make it by yourself. https://wiki.multitheftauto.com/wiki/Int ... ng_the_GUI https://wiki.multitheftauto.com/wiki/Scr ... troduction
  24. Screenshots of new panel GUI (every function you see is working) main panel: functions window: vehicle functions window: bans window: resources window: reports window: and to conclude about window:
  25. AMX can run some SAMP scripts, but most doesn't work because of new 0.3 functions, etc.
×
×
  • Create New...